SinisterRobot / gtge

Automatically exported from code.google.com/p/gtge
0 stars 0 forks source link

Additional support for Tile Backgrounds #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I feel GTGE needs more support for Tile Backgrounds.

Currently it only supports a single layer Tile Background.
Many games require more than this.  For example, platformers like Sonic, RPG's 
like Zelda, or Pokemon.  Because of how many users I've seen in the past year 
or so asking about Tile Backgrounds, I don't believe this is too specific for 
an all purpose 2D game engine.

A multiple layer background backed by arrays would be a good start, but a 
hierarchy of classes related to Tile Backgrounds in good ole' OOP fashion would 
be even nicer.

I propose "AdvancedMultiLayerTileBackground" for the background itself.
"TileLayer" for a wrapper class for each layer.
"Tile" a wrapper for each tile.
"Tileset" a wrapper for arrays of tiles.

Original issue reported on code.google.com by wam3...@gmail.com on 29 Jun 2010 at 7:47