This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-19 15:56:32

Epicluigi
New Scratcher
Registered: 2012-05-19
Posts: 2

Need help about animation and keys

alright im a newbie and im wondering if i can put couple keys to move a animimated gif file 
with out moving another costume.

EXAMPLE: im doing animated mario sprite and a run sprite. and im trying to repeat the mario run sprite when i press right button always without interfering with the mario regular sprite. Any help? Thanks,

Offline

 

#2 2012-05-20 05:06:46

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Need help about animation and keys

If I understood you right, here;s what you should do:

Import the animated GIF as a costume, then add this code:

when gf clicked
forever
if <key [right arrow v] pressed?>
next costume

Last edited by Hardmath123 (2012-05-20 05:06:54)


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

Board footer