I need help with my collision detection, basically i dont know how to go about it.
I'm making pacman.
I've made a 2d array, with 1's for the walls and 0's for the empty spaces I've got pacman to move but dont know how to stop him going through the walls,
im doing this for Gameboy advance using notepad++ and VisualBoy
any help would be great thanks