Original Post
Im currently working on a simple dos console game. Like Pacman I have the cursor move around the screen while on a pre-loaded map. My problem is im not sure how to set collision detection to the cursor.
Heres my movement code for the cursor
if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_RIGHT)
{
CursorPosition.X = CursorPosition.X + 1;
CursorPosition.X++;
cout << "+";
score = score + 1;
}
Im sorry if im not very detailed.