Impassable Tiles


This week I worked on the movement and attack logic of Impassable tiles. The tiles prevent pieces from landing on or moving/attacking through them. I ran in to a few issues with this like getting the logic right, but the most frustrating bug was when a piece moved the tile it Was on would set its Column int to something like 200 and I couldn't figure it out. I ended up making a fix by getting the Column and Row before the spot where it would change which worked. The most frustrating part is that after nuking my project and re getting it the bug went away.


Get World War Chess

Leave a comment

Log in with itch.io to leave a comment.