tcarr
05-09-2011, 02:45 PM
We have a new beta example available. This one is for Android 2.2 phones. It probably won't work for 2.1, but it might work for 2.3+.
The app logs on to ES5 using a random username, and joins a game. Users in the game tap the screen to place objects, which fall "down". One user's phone controls the direction of "down". It is most impressive to have a dozen objects on the screen and then start turning the phone that controls the direction of gravity, and see on another phone that the same objects are in approximately the same positions. About every 5 seconds, the exact placement of the objects is synched.
This app uses AndEngine (http://www.andengine.org/)with its Physics Box2D (http://www.andengine.org/forums/physics-box2d-extension/) extension.
Live example (http://www.electrotank.com/docs/es5/live-examples/AndEnginePhysics.html)
Reply to this thread with feedback, or to ask for the source code. I'm waiting to upload a zip of the source code until the app has been tested a bit more.
The app logs on to ES5 using a random username, and joins a game. Users in the game tap the screen to place objects, which fall "down". One user's phone controls the direction of "down". It is most impressive to have a dozen objects on the screen and then start turning the phone that controls the direction of gravity, and see on another phone that the same objects are in approximately the same positions. About every 5 seconds, the exact placement of the objects is synched.
This app uses AndEngine (http://www.andengine.org/)with its Physics Box2D (http://www.andengine.org/forums/physics-box2d-extension/) extension.
Live example (http://www.electrotank.com/docs/es5/live-examples/AndEnginePhysics.html)
Reply to this thread with feedback, or to ask for the source code. I'm waiting to upload a zip of the source code until the app has been tested a bit more.