smallperson / apps-for-android

Automatically exported from code.google.com/p/apps-for-android
Apache License 2.0
0 stars 0 forks source link

[Amazed] patch: allow keyboard control #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For those of us who don't have an accelerometer, especially those who are
running android apps in an emulator, I added keyboard control. Use arrow
keys to "tilt" the board. A joystick-like indicator in the HUD bar at the
bottom of the screen shows the current direction and amount of tilt
(whether you use arrow keys or the accelerometer).

Also: modified the "physics" to use actual acceleration and velocity, for
more accurate movement; and adjusted these to be framerate-independent.

See attached patch (against r167)

Original issue reported on code.google.com by hutt...@gmail.com on 30 Apr 2010 at 9:08

Attachments:

GoogleCodeExporter commented 9 years ago
Attached a 2nd patch (cumulative; don't need lars-kbd-20100430.patch in 
addition to
this one).

Changes:
- 3D look to the marble, e.g. bright highlight and rotating lines as the ball 
rolls
- "falling" animation when marble falls off into void
- "finished" animation when marble finishes level

Original comment by hutt...@gmail.com on 5 May 2010 at 2:41

Attachments: