Report as inappropriate.
This is OLD. The newer one has a lot more features and an actual API:
https://www.greenfoot.org/scenarios/25667
This scenario uses System.nanoTime to produce smooth, time-based movement and animation (rather than act-based). It also uses images created by Spritefoot to demonstrate how you can use multiple arrays of images to smoothly manage animation. You should grab SpriteFoot and use it to slice up Sprites for use in this program. You could use your own sprites, too, if you follow the naming convention.
Instructions:
- SHIFT - Run
- SPACE BAR - Attack
- Arrow keys to move OR
- Click mouse to try click-to-move functionality
Want to leave a comment? You must first log in.
2020/11/11