Games:Example:MoveOnGrid:Summary
From FANG
Note: This example is currently being updated to use a new version of the FANG Engine.
Move On Grid by Jam JenkinsShows 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 on 1 April 2009, at 19:48.
- This page has been accessed 794 times.
- Privacy policy
- About FANG
- Disclaimers
- Powered by MediaWiki!












