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

#1 2010-09-18 13:05:13

Awesomeman98
New Scratcher
Registered: 2010-09-10
Posts: 35

I need a Game over script

I need a game over script now. when my sprite1 touches my sprite2  I want the screen to say game over and the game to end

Offline

 

#2 2010-09-18 13:09:57

TuffGhost
Scratcher
Registered: 2010-09-06
Posts: 500+

Re: I need a Game over script

forever
   if < touching [sprite 2] >
      go to x: (0) y: (0)
      switch costume to [game over]
      go to top
      stop all
   end if
end forever

Here the costume "game over" would take up the whole screen (or not I guess) and would include the words "game over"


http://i56.tinypic.com/vr8xvs.jpg

Offline

 

Board footer