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

#1 2012-03-20 09:11:32

Indiego
New Scratcher
Registered: 2012-02-27
Posts: 61

Start button working second time round? 0.o

Im in the process of making a new game called swivel (http://scratch.mit.edu/projects/Indiego/2409711) but Im having a few weird glitches with it that I can't seem to work out :'(

The biggest one would be that when the game is started, when you hit the start button it brings you to the game over screen and tells you your score was 11 0.o I have no clue why its doing this and when you go back to the menu it works..
Anyone have any ideas?  hmm

Offline

 

#2 2012-03-20 12:28:06

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: Start button working second time round? 0.o

Usually when that kind of thing happens it is because the "death sensors" sense that you've died straight away (because you were about to die last time or something) this is usually fixed with this on the "death sensor" script:

when gf clicked
wait (0.1) secs
do stuff
It can also be fixed by adding a title screen which you have, so I'm not sure, Plus, it didn't happen for me...

EDIT: I might know why, it runs when on the menu, because I was on the second level when I click start, perhaps you made the "reset scripts" on when gf clicked instead of when i receive [start]?

Last edited by Splodgey (2012-03-20 12:29:58)

Offline

 

Board footer