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

#1 2011-03-27 14:01:25

Carolus
New Scratcher
Registered: 2011-03-27
Posts: 6

Game

Hello,

i'm making a game.
In my game you have to catch coins.
There are fireballs falling to, if you catch that you'r losing an life.

But, i want to make a roof.
If you are under that roof, you'r safe;
How i make a roof like that?

Offline

 

#2 2011-03-27 14:07:54

Clank23
Scratcher
Registered: 2011-03-01
Posts: 1000+

Re: Game

just make a roof sprite and put a if touching roof hide script on the fireballs and coins  cool


http://img846.imageshack.us/img846/4333/signaturely.png

Offline

 

#3 2011-03-27 14:24:07

Carolus
New Scratcher
Registered: 2011-03-27
Posts: 6

Re: Game

Sorry  i'm new, how i made that script?

Offline

 

#4 2011-03-27 16:24:10

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: Game

Fireball Script:
[blocks]
<when green flag clicked>
<forever if><touching[ RoofSprite
<hide>

Offline

 

#5 2011-03-28 17:32:32

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

Re: Game

And if you want the fire balls to go back to the top and fall again, make sure you put:

<show>

to show them again.

Last edited by MoreGamesNow (2011-03-28 17:32:43)


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

Offline

 

Board footer