x


2D Game Snippets / Examples / Cookbook

Hi,

I am trying to find a books or resources that provide short pieces of code for a variety of different 2D game types.

Examples of how to set up a grid; and control, move, calculate win conditions for any game pieces etc..

or specific examples of making a:

  1. Tetris style game
  2. Bejweled style game
  3. Chess style game
  4. Puzzle style game
  5. Etc..

Hopefully you get the picture of what I am after, I don't won't full copies of a game, just pieces to explain how the did the calculation for various parts.

If there are any Unity specific, great. Otherwise just JavaScript would be just as handy.

more ▼

asked Apr 16, 2012 at 03:49 PM

labithiotis gravatar image

labithiotis
0 6 4 4

(comments are locked)
10|3000 characters needed characters left

0 answers: sort oldest
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3220
x40
x31
x3

asked: Apr 16, 2012 at 03:49 PM

Seen: 1071 times

Last Updated: Apr 16, 2012 at 03:49 PM