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

2012/4/21

How to make sprite that move animatedly when the key is pressed down?

snow13 snow13

2012/4/21

#
I want to make side-scrolling game,and i need to code how to make the sprite walk or do something animatedly
winnerpig winnerpig

2012/4/21

#
my scenarios refer to this matter , you could see the source.
tylers tylers

2012/4/21

#
or look at http://www.greenfoot.org/scenarios/4759
snow13 snow13

2012/4/21

#
i need the source code
xillius200 xillius200

2012/4/21

#
Well you can take a look at mine it uses a class I found somewhere called Animation which uses AnimatedActor by greenfoot which makes a animated smurf as I walk left and right xD http://www.greenfoot.org/scenarios/4852 Source code is also available :) If you want the background to move with character as he walks then search mario someone has a good game of where they have put this into practice it's not hard to miss lol
tylers tylers

2012/4/22

#
uploaded the source now
You need to login to post a reply.