Grimmys / rpg_tactical_fantasy_game

A tactical turn-based game project in pygame, open to support
GNU General Public License v3.0
392 stars 85 forks source link

Fixed the bug of entity displacement when load from save. #67

Closed JimZhouZZY closed 11 months ago

JimZhouZZY commented 11 months ago

When the number of rows or columns of the map is odd, the coordinates of the entity should be translated to correct. Solved well when the number of the rows of the map is odd. Didn't test when the number of the columns of the map is odd. As I dont really know how to edit the map, I cannot check this myself. For insurance, I added a TODO in level_scene.py, to remind people to check.