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

2013/5/16

Animating

Gzuzfrk Gzuzfrk

2013/5/16

#
How do you make it to where when you hold down the right arrow button the object will animate and move and then when released it stops and changes to a stand pic
danpost danpost

2013/5/16

#
if (Greenfoot.isKeyDown("right")) runAnimation(); else setImage("standing.png");
You need to login to post a reply.