Sunday, 23 August 2009

My monster senses are tingling

Just committed first part of monster senses. You can now get the surrounding tiles for a given tile. Was much harder and took way longer than it should have (in the same time Sam got all the UI stuff done!)

To be fair - in doing this it made me re-think the way I was adding tiles to the world. Instead of keying them by grid square when they're added, I just made a method that gives you the grid co-ordinates (i.e. the top left corner of the tile) for a given screen co-ordinate.

We should be able to get onto some interesting, gameplay-like stuff pretty soon :)

No comments:

Post a Comment