Skip to content
Advertisement

Tag: tile

How to correctly parse a tiled map in a text file?

I’m making a RPG with Python and pygame for a school project. In order to create the few maps, I have chosen the Tile Mapping techniques I have seen in some tutorials, using a *.txt file. However, I have to cut some sprites (trees, houses, …) into several pieces. The problem is that I’m running out of characters to represent

Advertisement