Games:Example:MoveOnGrid:Summary
From FANG
Move On Grid by Jam Jenkins
Shows how to move a sprite smoothly between grid locations rather than jumping directly to the new position. Click on a cell and the circle will move to that cell over a 1 second duration. This example is particularly useful for writing turn-based games such as tic-tac-toe, checkers, or chess where there should be a smooth transition when moving game pieces.
Source Code: MoveOnGrid.java, GridTracker.java, Grid.java
- This page was last modified 02:53, 9 March 2008.
- This page has been accessed 255 times.
- Privacy policy
- About FANG
- Disclaimers
- Powered by MediaWiki!


