I am trying to make a pacman type game... Problem is collision detection. I used a tile map for the level... in the map... every number represents a certain type of block... 0's represent nothing or the path that lil pacman travels... get what im saying... I tried to code it so that it checks the next available position before moving him... if the next position is not a 0, then you dont move him... simple huh??? yeah! I just cant seem to get it to work. I am using C code and Direct X 8 (ddraw). Anyone know where some code is that i could look at or have any ideas to help my situation. Thanks a lot.