Handling Movements


In the previous engine, only the player was moving. This prevented NPC from moving and made adding enemies difficult. Now, I’ll build the entities in a way that allow movement right from the start. Since this is a tiled base and idle game, I think it will look good if the game is turned based. Some sort of fake turned base where the turns change automatically. This mean, all characters on screen will move to a new tile at the same time. This will allow the engine to keep movement on 4 angles only, no diagonal movements. It will also make collision much simpler since it will be a per-tile collision and not per pixel. This mean, the player range of attack will be on surrounding tiles instead of a specific radius. Also, in between turns, nothing will be taking half a tile; everything will be right in the middle of a tile.

Hopefully this will look good. 

Leave a comment

Log in with itch.io to leave a comment.