Jump to content

Project OLED: Arcade game tutorials

AggrorJorn

1,962 views

I am currently looking into some 2d basic/arcade game tutorials which might follow up on the OLED project once all the lua basics tutorials are done.

 

Think about games like:

  • Minesweeper
  • Tetris
  • Pong
  • Bejeweld (match 3)
  • Asteroids
  • Snake
  • Arkanoid (breakout)

 

Minesweeper is already finished:

blogentry-45-0-19340000-1491736241_thumb.png

 

 

Replicating all these games myself gives a great indication on their complexity, even for arcade games. Grid based games like minesweeper, bejeweled and tetris are the easiest and share a lot of functionality. So doing all of them might now prove usefull. Pong is great in the sense that it introduces vector mathematics. All these game have their own little mechanics. The trick in making the tutorials is also finding the right game order.

 

One game that you might find missing in the list above is Pacman. Although certainly doable, the ghosts have their own behaviour which makes them a little trickier for beginnners. All in all it is a good way to really start tinkering about lua once you'r done learning the basics.

 

 

What are your favorite arcade games?



25 Comments


Recommended Comments

Cool idea

Maybe think about doing the game battleships later, to show simple multi-player.

 

I really liked r-type.Aside from that golden axe, double dragon, contra, punisher.

 

Share this comment


Link to comment

i would start with tic-tac-toe since it is the most widely understood game. Even though it is a simple game the ideas behind replicating it are useful. It introduces people to lua tables, (multi dimensional table creation, reading and writing values to them). You could make it 2 players so you can avoid the AI part, but introduce score keeping, Further you can have the additional bonus challenges of detecting a win/lose play or adding the AI or both.

Share this comment


Link to comment

I would definitely suggest starting with Pong as that should be the easiest to understand. Maybe even do it without vector math (or add it at the end).

Share this comment


Link to comment

Space Invaders is cool - maybe even Galaxians if you want to take it one step further. :) It was the first game we had to make at school.

Share this comment


Link to comment

Minesweeper - pretty interesting game logic and probably challenging programming strategy

 

Bejeweld - same as above but different in design

 

Arkanoid - because fun

Share this comment


Link to comment

Interesting suggestions. So we have got:

  • Battleship
  • Tic tac toe
  • R-type side scrolling shootem up (contra, ninja turtles)
  • Side scroller (mario, Gianna Sister, megaman)
  • Bomberman
  • Space invader
  • Card games (Solitaire, black Jack and poker)

 

These are all interesting. Doing all of these is too much work, but some are deffinetely worth a look at to see their value on learning lua.

Share this comment


Link to comment

Please add these also when doing your template tutorials

1)Menu system (Pause,Resume, Options (AA, effects and etc), Save game and load game)

2)Loading screen , maybe with progress bar before changing to next map ?

Share this comment


Link to comment

Please add these also when doing your template tutorials

1)Menu system (Pause,Resume, Options (AA, effects and etc), Save game and load game)

2)Loading screen , maybe with progress bar before changing to next map ?

 

Making an entire menu with options and everything is way too much work for such a small arcade game. Not to mention that there is currently no UI system. It is also something that Josh said he was going to add by default when the new UI system comes.

A video on creating a splash screen is a good idea. The progress bar is not that simple I am afraid.

 

Don't get me wrong, those are good ideas to make a video off. Just not for the arcade games.

Share this comment


Link to comment

Loading screen

http://www.leadwerks.com/werkspace/topic/11758-animated-loading-screen-with-lua/

 

There was also a good product called FlowGUI smile.png

A simple loading screen is fairly easy to do, but a progressbar didn't work for me. Anyone tried that loading screen solution they are talking about?

 

I lost my website were FlowGUI was hosted quite some time ago. As a result I tried uploading FlowGUI to the Workshop but paid items were not avaiable for some time. When paid items were allowed again, FlowGUI was disapproved because payed scripts were not allowed. There was/is also no way for me to send out free keys to people who had already bought it. Since Leadwerk's official UI is around the corner I kind of gave up.

Share this comment


Link to comment

I wouldn't hold your breathe on the ui part. We just really need to come together and create a good community one with a wysiwyg editor to be complete. I have a ui library that I use for our games that handles screen resolutions correctly, does some tween animations if needed and is image based (vs drawing lines) but it's not complete as I use it for what I need at the time. I think tonight I'll make a post and show it and ask for help to make it more complete. It's sort of HTML /CSSish in style where there are no controls just an element that can have a bunch of styles and properties that determine how it looks.

 

Honestly even if josh does release something it won't meet most people's need and it'll be fine for development as it gives something but for production you'll be asking for a lot of additional features that'll take forever to be implemented because he's doing lots of other things. Josh doing a ui to completion implementing tons of features people would want would take a good year of focus which isn't going to happen in my view.

 

In all honestly the ideal would be to recreate an HTML and CSS parser to LE drawing commands but that's s huge effort that nobody is going to do so a close idea to that is easier.

 

Sorry didn't mean to high jack thread.

 

 

A 3D minesweeper should be fairly easy and gets more into 3D. Could just make boxes for tiles with a slight angle of camera to see them all. When not a bomb a 3D number or sprite appears and rotates around itself.

Share this comment


Link to comment

When will the new UI will be released ?

 

Good question, Josh was working on a great UI library but no news about it :/

Share this comment


Link to comment

Inside the scripts folder there is a GUI folder with lots of scripts for buttons, list view, menu, panel etc.

 

I have no idea how you go about using them.

Share this comment


Link to comment

Inside the scripts folder there is a GUI folder with lots of scripts for buttons, list view, menu, panel etc.

 

They're all broken.

Share this comment


Link to comment

The official documentation is still being revised/updated. Without having official documentation I would not start using it yet unless you like trying things out.

Share this comment


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Blog Entries

    • By polanskiam in Writer Tips 0
      The records put it straight the majority of the student essay writers really take much delight in custom essay. This makes the whole difference between me and other students in different parts of the world. The findings of the recently concluded research survey conducted in the world’s leading universities and colleges disclosed that only a smaller percentage of the student body could write my essay to the required standards as outlined in the custom essay.
      In as much as the naysayers would be quick to dismiss this revelation as a mere creation of the unscrupulous research, that is the true reflection of reality on the ground. Very few students can write my essay in accordance with the rules of custom essay. An increase in the number of students lacking knowledge of custom essay should be reversed if at all educational objectives are to be achieved in the present day world. One cannot write my college essay unless he or she is proficient in the doing of personal statement.
      Better said than done, one can learn how to write my college essay unless s/he gets down practicing the actual custom essay frequently.
      As a result of the custom essay writing services, I have made a resolution to always write my write my essay online on a regular basis so as to get acquainted with custom essay writing. I tend to master the art of custom essay writing every single time I write my college essay. What an assuring way to write my college essay! This is the main reason why I will continue to write my essay based on the lessons learnt from the custom essay.
      Write my paper
      I am an essay writer and I can write my paper effectively. I have practiced this for over twelve years now. My master is our grammar teacher. He taught me to write my paper always with continuous thought that is logical. He even urged me to be careful as an essay writer not to put down irrelevant ideas. If I made a mistake, he would correct me lovingly. That is when I came to realize that as an essay writer I should always be patient when I write my paper and furthermore when corrected. I usually write my paper and let a friend read it to make sure all the mistakes are corrected. I find the task interesting and I would like to be an essay writer in future. I write my paper every time I am free and I sit down and admire it. I also baffle others as an essay writer because my essays have a very amusing tone. One day I almost wrote an entire novel just enjoying being an essay writer.
      If anyone tells me to write my paper and give him, I know he/she would be testing me concerning the way to handle his or her work because not everyone understands this job like me. I am not praising myself but I am sure that I write my paper quickly and I am a good essay writer. Whenever I write my paper, I am sure to finish it as soon as possible, and I want to sharpen my skill as an essay writer. Both of these give me pleasure because they are gifts about which I can boast. Always be ready to exercise yours too.

    • By polanskiam in Writer Tips 0
      1) How many 2 cm x 2 cm x 2 cm cubes could fit in a box that is 6 cm long, 3 cm wide and 4 cm high?
      Only 6 cubes could fit in that box.
      2) How many 3 cm x 3 cm x 3 cm cubes could fit in a box that measures 5 cm x 4 cm x 4 cm?
      Only one 3 cm x 3 cm x 3 cm cube could fit in a 5 cm x 4 cm x 4 cm box.
      3) You have 8 m of fencing. You fence off a square. What is the area of the square?
      The area of the square is 64 cm2.
      4) What is the length of fencing needed to make a square paddock with an area of 25 m2?
      The length of fencing needed to make a square paddock with an area of 25 m2 is 5m.
      5) What is the area of a rectangle with a 30 m perimeter, if the length is twice the width?
      The area of that rectangle would be 50 m2.
      6) Sketch a solid prism. Find the area of all sides. Find the volume.
      Can’t find the area or volume of a prism with no given dimension.
      7) What is the volume of a box that is twice as long as it is wide, and half as high as it is wide, if it is 20 cm long?
      The volume of that box would be 1000 cm3.
      The volume of this cube is 64 cubic centimetres. If you glued a string on the edges as shown, how long would the string be?
      The string would be 16cm long.
      9)An equilateral triangle has a base of 3cm and a height of 2.5cm. What would the area and perimeter of the triangle be?
      The perimeter of the triangle would be 9cm and the area would be 3.75cm2.
      10) A farmer has a wagon that is 10m long, 2.5m wide, and sits 1.5m off the ground.
      Each bale is 1m long, 75cm wide and 50cm high.
      If the door to the barn is 10m high, how many bales can the farmer fit on his wagon in one load of hay?
      11) In your writing describe the following two instructional strategies: Jigsaw and Bansho.
      Be sure to include how the strategy works, as well as its benefits in the classroom and example.
      Jigsaw is a cooperative learning strategy that enables each student of a “home” group to specialize in one aspect of a learning unit. Students meet with members from other groups who are assigned the same aspect, and after mastering the material, return to the “home” group and teach the material to their group members.
      The process uses a visual display of all student solutions, organized from least to most mathematically rich. This is a process of assessment for learning and lets students and teachers see the full range of mathematical thinking used to solve the problem. Students have the opportunity to see and hear many approaches, and they are able to consider strategies that connect with the next step in their conceptual understanding of the mathematics.
    • By polanskiam in Writer Tips 0
      International flow of funds refers to the movement of money and money equivalents between countries. Funds refer to money or money equivalents that are given for a purpose (Dawson). For example, funds may be given to a country to facilitate a development project in a country. Governments, individuals, and organizations can, therefore, give or receive funds depending on the needs and their financial abilities.
      A government may place various constraints on flow of funds internationally. One of the constraints could be in terms and conditions of providing funds (Sharan). If a provider of funds has varied interest in the country or organization to which it seeks to fund, stringent terms may make the provider shy away from the endeavor. Similarly, if governments or organizations seeking funds cannot adhere to the set conditions, funding arrangements are likely to be avoided altogether. Such conditions, therefore, create constraints to international flow of funds.
      The government would impose such constraints due to a myriad of reasons. One imperative reason would be to prevent its citizens from exploitation by foreign financiers. This might be through the conditions sought after by providers of the funds.

      For example, a financier may demand certain unreasonable stakes in the endeavor, or even demand for contracts that would otherwise be given to citizens of the country. Another reason would be to ensure that the government, not foreigners, remains in control of key sectors of the economy.
      Managers of multinational companies may argue that the constraints may not be favorable for the government as it might be viewed as lack of trust or hostility towards providers of finance. As a result, providers of finance may decide to charge higher interests in case of loans given to the government. Such retaliatory actions may not be favorable for the government presently or in the future.
×
×
  • Create New...