Open bhu1st opened 12 years ago
Checked the game, it is running fine, liked the idea. Few things to consider.
The code and logics are great, you have very good grasp of game logic, just little practice and learning the examples from the google code and the andengine forum community will make you use the Engines features with full flexibility.
Regards.
Please check this code for modifications to implement Accelerometer:
https://gist.github.com/3196568
References:
Working with motion: http://andengineguides.wordpress.com/2011/09/17/getting-started-working-with-motion/
Moving a sprite with the accelerometer sensor http://www.andengine.org/forums/tutorials/moving-a-sprite-with-the-accelerometer-sensor-t1223.html
AndEngine Example http://code.google.com/p/andengineexamples/source/browse/src/org/anddev/andengine/examples/BasePhysicsJointExample.java
AndEngine Snake Game for Score Text / Layered Scene http://code.google.com/p/andengineexamples/source/browse/src/org/anddev/andengine/examples/game/snake/SnakeGameActivity.java