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

#1 2012-05-09 19:55:50

ifelon82
New Scratcher
Registered: 2012-05-03
Posts: 4

Script help needed

hey guys i was just wandering how i can put a time limit on my maze game, once the time limit is reached i want to the background to change to the losing screen. Any suggestions?

all help is appreciated, thanks

Offline

 

#2 2012-05-09 20:04:26

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Script help needed

when gf clicked
reset timer
wait until <(timer) > [60]>
broadcast [game over v]
Then, in the stage, put...

when I receive [game over v]
switch to background [game over screen v]
stop all


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

#3 2012-05-09 20:07:14

pi3
Scratcher
Registered: 2011-12-31
Posts: 500+

Re: Script help needed

This should be in Help with Scripts. Reporting.


http://i44.tinypic.com/ofdhc4.jpgThanks FreshStudios!

Offline

 

#4 2012-05-09 20:08:55

ifelon82
New Scratcher
Registered: 2012-05-03
Posts: 4

Re: Script help needed

Thanks alot  smile

Offline

 

#5 2012-05-09 20:12:54

ifelon82
New Scratcher
Registered: 2012-05-03
Posts: 4

Re: Script help needed

sorry i didnt know that, feel free to delete this thread

Offline

 

#6 2012-05-09 20:42:50

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Script help needed

ifelon82 wrote:

sorry i didnt know that, feel free to delete this thread

Only the thread owner can delete it. However, it would be best to click report and say you want it to be closed, so other people can learn from it too  smile

Offline

 

#7 2012-05-09 20:42:51

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Script help needed

Pi3 is right, this seems to better fit under the Help with Scripts forum. I'll move it.  smile

Also ifelon82, you can either delete the thread yourself, or you can report the first post and ask for the topic to be closed. By having the thread closed, nobody else will be able to post on the topic, but it will still be available if you need to look at it later.


http://i.imgur.com/WBkM2QQ.png

Offline

 

#8 2012-05-09 20:45:02

thebriculator
Scratcher
Registered: 2011-07-11
Posts: 500+

Re: Script help needed

when gf clicked
reset timer
wait until <(timer) > [60]>
switch to background [game over screen v]
stop all
Like what BoltBait said, but both scripts are combined


.     http://tiny.cc/2cwgpw    http://tiny.cc/viwgpw    http://tiny.cc/iwwgpw

Offline

 

#9 2012-05-11 16:46:03

James07
Scratcher
Registered: 2012-04-04
Posts: 500+

Re: Script help needed

Lucario621 wrote:

Pi3 is right, this seems to better fit under the Help with Scripts forum. I'll move it.  smile

Also ifelon82, you can either delete the thread yourself, or you can report the first post and ask for the topic to be closed. By having the thread closed, nobody else will be able to post on the topic, but it will still be available if you need to look at it later.

Uhh...He can not delete the thread himself.  He a Noo Scratcher


http://trinary.site40.net/images/scratchrank.php?username=James07

Offline

 

Board footer