About Tilt / Touch Movement Demo
This is NOT a game, and there's nothing really special about this app. I just made it to learn how to use different methods of controls using libgdx, and switch between those modes dynamically. This demo also uses a chase/follow type of movement control. Just thought I would share it with the world.
Modes:
- Rotation
- Tilt
- Touch
Using Rotation:
Tap the screen anywhere to start/stop movement of the guy you're controlling. This would be considered a Gravity-Up type of control. In other words, hold the phone like normal, and no matter how you rotate the phone, the guy you're controlling will always move up.
Using Tilt:
Tap the screen anywhere to start/stop movement of the guy you're controlling. This would be considered a Gravity-Down type of control. In other words, hold the phone flat and level to the ground. Whichever way you tilt the phone, the guy you're controlling will move in that direction.
Using Touch:
Tap the screen anywhere to start movement of the guy you're controlling. When he gets to that point, his movement will stop. Tapping a different place on the screen while he is moving will redirect him there.
NOTE: the guy can get stuck in an orbit-like movement, if you tap too close to the left or right of his current position.
Download and install
Tilt / Touch Movement Demo version 1.0 on your
Android device!
Downloaded 50+ times, content rating: Not rated
Android package:
com.cshappdev.tilttouchmovementdemo, download Tilt / Touch Movement Demo.apk