I'll give you a sample:
Code:maze[20][20]; //Predefined maze array if( GetKeyState(VK_LEFT) ) //However you do it in C { if( CharacterPosition & 0x08 ) //Character position is a maze[][] spot MoveCharacterLeft(); }
I'll give you a sample:
Code:maze[20][20]; //Predefined maze array if( GetKeyState(VK_LEFT) ) //However you do it in C { if( CharacterPosition & 0x08 ) //Character position is a maze[][] spot MoveCharacterLeft(); }
-"What we wish, we readily believe, and what we ourselves think, we imagine others think also."PHP Code:
sadf