This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » New Scratchers
  •  » How do you stop a variable from changing then let them change again?

#1 2009-12-20 20:36:34

Chatter
Scratcher
Registered: 2009-11-29
Posts: 500+

How do you stop a variable from changing then let them change again?

I'm making a game and i need help. I don't know how to program it but i have to make a game or i can't make anymore cartoons until the game works perfectly. Please help me. I am trying to make a game where objects fall from the sky randomly (but also repeatedly).  I will be thankful and greatful for any help.If you help me, i will also let you give me any special request. Thank you!!!!!!!!  big_smile


http://img19.imageshack.us/img19/2339/mcdonaldsjoke.gifAll your problems are like batter when you add a little Chatter, because when you have Chat, you're safe from bats.  big_smile
"And so?" - The little people in my brain|Status: Snow in April?

Offline

 

#2 2009-12-20 22:11:10

coolperson
Scratcher
Registered: 2007-08-21
Posts: 1000+

Re: How do you stop a variable from changing then let them change again?

[blocks] Here is what I suggest:
<when green flag clicked>
<forever>
<switch to costume[ <pick random(  )to(
<glide(  )secs to x sad   )y sad 
That can be the base for the scripting. You will have to find out the X and Y positions yourself, I don't have the download version with me right now. Hope that helps! [/blocks]


Coolperson- 2012 National Vex Robotics Finalist!
http://www.scratch.mit.edu/ext/youtube/?v=sn7p84DQFyk

Offline

 

#3 2009-12-20 22:37:48

Chatter
Scratcher
Registered: 2009-11-29
Posts: 500+

Re: How do you stop a variable from changing then let them change again?

Thanks for helping me!!! Got any special request? Name one and i'll do it! Have a merry Christmas!!!  big_smile 

From me, Chatter


http://img19.imageshack.us/img19/2339/mcdonaldsjoke.gifAll your problems are like batter when you add a little Chatter, because when you have Chat, you're safe from bats.  big_smile
"And so?" - The little people in my brain|Status: Snow in April?

Offline

 
  • Index
  •  » New Scratchers
  •  » How do you stop a variable from changing then let them change again?

Board footer