Saturday, May 28, 2011

Tactile Cave 2: Developer’s Diary 3

I’ve been looking for solutions to the array problem recently. The game freezes if the player attempts to go off the map. I attempted to do the same thing to the north and west coordinates (coordinates with X and Y values of 0) and the glitch didn’t happen. It only happens with the south and east coordinates, which have higher, non-zero values on the coordinate plane. I’m thinking of adding walls to those coordinates to see if that fixes the problem. If not, I can get a friend to write me a program that checks whether or not the tile the player is about to go into is occupied.

No comments: