forum
forum >> Programming questions >> Game Development | |
Tile mapping |
|
Posted Sep 26 2012 at 1:58 AM by Samuel Grogan (gh0st) |
I was wondering about tile mapping. Specifically, what library for python might work well and the best way to learn about it. Any information would be greatly appreciated. |
Author | Message | |
Andy |
Posted: Feb 23 2013 kl. 10:28 AM I never did an explicit tile-mapping demo for the Python book, but the principle is the same in any language. Here\'s a tile-based world from my new book: http://aharrisbooks.net/h5g/h5g_13/tbw/tileBased.html View in any modern browser and use ctrl-u to view code. Essentially, make a multi-state tile sprite, and build the map from a two-dimension array of tiles. |