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

#1 2012-02-26 16:24:35

Dignified
Scratcher
Registered: 2012-02-24
Posts: 43

Need help with loops!

when gf clicked
when sprite1 clicked
 switch to costume custume
 wait 1 secs
switch to custume1
end
I've tried loop, It's a gun. I want it to shoot when clicked.
Custume = My ACR image
Custume1 = ACR with muzzle flash

Thanks,
Dignified.

Offline

 

#2 2012-02-26 16:39:03

schusteralex2
Scratcher
Registered: 2011-09-17
Posts: 1000+

Re: Need help with loops!

I think what you would want to do would be
When Sprite1 clicked
Switch to costume1
wait one sec
switch to costume2

The scratch blocks failed

Last edited by schusteralex2 (2012-02-26 16:40:15)


http://i44.tinypic.com/2uj37ds.gif

Offline

 

#3 2012-02-26 16:56:13

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Need help with loops!

when gf clicked
forever
if<mouse down?>
switch to costume [custume1]
wait (1) secs
switch to costume [custume]
end
end

Last edited by MoreGamesNow (2012-02-26 16:56:23)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-02-26 18:06:00

Dignified
Scratcher
Registered: 2012-02-24
Posts: 43

Re: Need help with loops!

Okay, Thanks so much! Check out the app, Later I'll do reloading!

Offline

 

Board footer