I want to make a simple 2D game where the user has to navigate a ball through a maze (using the accelerometer of course). I used a simple view to make use of the accelerometer and move a ball on the screen. Now how do I go about building the maze? Would I have to use cocos2d or something similar? How do I make the ball stop or rebound when it hits the wall of the maze?
A:
Check out this game... it does a great job with the accelerometer and also setting boundaries.
iWasRobbed
2010-10-20 19:28:08
A:
This one is for Android rather than iPhone, but it has some parts that are very relevant to your project, such as moving a ball. Does not include ball rebounding or building a random maze; it loads mazes from a file.
For ball/wall bouncing, try this question.
For generating a maze, see this question.
LarsH
2010-10-26 17:16:05
Thankyou Im trying it out.
rohith
2010-10-27 05:04:31