Thursday, December 19, 2013

Developing a flash game 04

Hi there guys...

Adding tile maps to the game wasn't that hard. In the demo below, the map is stored as a text file. This file is interpreted by the game, and all the tiles are then drawn on an image that is the same size of the game. Next the tile map is placed on top of the background. Right now 4 tiles are defined: empty, grass, rocks, and bricks. The interaction between the character and the tiles has not been implemented yet.

No comments:

Post a Comment