This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MrCohen
MrCohen presents ...

2018/5/30

Spritefoot Smooth Animation Example

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.

Instructions:
- Hold SHIFT to Run
- Press B and N to switch costumes
- Arrow keys to move

4249 views / 14 in the last 7 days

4 votes | 0 in the last 7 days

Tags: with-source animation sprite

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2018-09-27 17:19:59 UTC Some cleanup.
NoobopandaNoobopanda

2020/12/20

woW
MrCohenMrCohen

2023/10/10

Wow I can't believe this is 5 years old! I have some substantially updated code I will have to polish up and share!

Want to leave a comment? You must first log in.

Who likes this?

ElizarS PMPau Just_in mik