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

#1 2012-09-04 07:20:40

candymanyyyy
New Scratcher
Registered: 2012-09-04
Posts: 3

How can I make a bomb randomly appear and drop to the ground

How can I make a bomb randomly appear from a moving object and then drop vertically to the ground?

Offline

 

#2 2012-09-04 07:25:49

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: How can I make a bomb randomly appear and drop to the ground

Moving object:

when gf clicked
forever
go to x: (pick random (-200) to (200)) y: (whatever)
your moving script
Bomb:
when gf clicked
forever
wait (whatever) secs
go to [moving object v]
repeat until <touching [ground v]?>
change y by (-10)
end
That's my simplest script.

Edit: Fixed the "repeat until".

Last edited by jontmy00 (2012-09-04 07:26:42)


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#3 2012-09-11 07:22:05

candymanyyyy
New Scratcher
Registered: 2012-09-04
Posts: 3

Re: How can I make a bomb randomly appear and drop to the ground

Cheers mate! My game finally works! almost!

Offline

 

#4 2012-09-11 07:25:55

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: How can I make a bomb randomly appear and drop to the ground

That is great. When you are done, upload it.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer