Difference between revisions of "Simple Platform"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "This will show you how to create a platform game using a tiled map, and tile based collision detection. ==Create Map== ===New Tiled Map=== You will need a new tiled map, the...")
 
(New Tiled Map)
Line 9: Line 9:
  
 
It is important to change the format of the map to Base64 gzip compressed:
 
It is important to change the format of the map to Base64 gzip compressed:
 +
 
[[File:Plat tile layer format.gif]]
 
[[File:Plat tile layer format.gif]]
  

Revision as of 15:58, 25 November 2017

This will show you how to create a platform game using a tiled map, and tile based collision detection.

Create Map

New Tiled Map

You will need a new tiled map, the tile size in the screen shot is 128 pixels, in the end i actually changed this to 32 x 32 and resized the tiles accordingly:

Plat new map.gif

It is important to change the format of the map to Base64 gzip compressed:

File:Plat tile layer format.gif

Add Tile Set

Now your map is created we need to add a tile set:

New tileset.gif