First of all, Hi, I\'m RUCCUS. Ok, now then, after thouroughly studying the \"My First Pong Game\" and learning about how all the code goes together and creating a nifty little game of my own, I am beginning a simple maze game. Basically the idea is that you\'re a simple little cube that walks around in a maze of rectangles connected together, and once you reach the exit you win. So I figure what I\'m going to need to create for the bones is...
- A movable box
- Collision so the user can\'t run everywhere going through the walls
- A special box at the end that detects when the user enters the box and once this happens alerts the user that they\'ve won and ends the game
I have the moving of the box down, you can go left right up and down. Now I\'m trying to figure out how to make a simple collision code that just detects when the user bumps into anything and disallows them to walk there. I searched the forums and got confused by a few examples, and when I tried changing the Pong Bounce back code I got all jumbled up, so I\'m consulting the forums. Is there anyone out there that can help me along with making a simple collision code much like the pong tutorial was made or possibly point me to a very useful tutorial that covers simple collision? All help is appretiated, thanks in advance if I forget to say it later on.
Oh and by the way here\'s my code so far, remember it\'s just the bare bones and this is only my second program in DB so don\'t flame it too much lol.
Causin' RUCCUS whereva' I go.