Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Save My Game
- Musicbro27
- Scratcher
12 posts
Save My Game
My Asteroid Dodger Is broken i tried everything and it is still broken Somebody help Your And i will if you don't i will be
Please help
change [S.M.G v] by (1)
Please help
Last edited by Musicbro27 (April 30, 2014 23:31:00)
- melsaysmel
- Scratcher
53 posts
Save My Game
Do you want me to help you? I will try but success is not guaranteed…I can give it a try though
when I receive [confirmation from @Musicbro27 v]
say [I will try and help u]
- Musicbro27
- Scratcher
12 posts
Save My Game
You can try all you can i hope you can find what's wrong.
broadcast [Confirmation From @Musicbro27 v]
- Kenichi10B
- Scratcher
74 posts
Save My Game
Found the problem! The current score is 15, making it so that when you start the game, it immediately broadcasts ‘You Win’ and stops everything. As it is, the script setting your score to 0 isn't acting fast enough to stop the other one. Drag the block ‘Set score to 0’ to the script dealing with the time detection (If time > 15, broadcast ‘Win’ script). It should work perfectly then!
Change the script to what's above and it'll work
when green flag clicked
set [time v] to [0]
forever
if <<[time] = [15]> or <[time] > [15]>> then
broadcast [Win! v]
end
end
Change the script to what's above and it'll work
Last edited by Kenichi10B (May 1, 2014 08:56:48)
- Musicbro27
- Scratcher
12 posts
Save My Game
Ummm that wasn't it or was it looks like i fixed it somehow?
when green flag clicked
forever
if <<[Timer] = [15]> or <[Timer] > [15]>> then
broadcast [Win v]
end
end
Last edited by Musicbro27 (May 1, 2014 13:42:53)
- Musicbro27
- Scratcher
12 posts
Save My Game
This is now a update page … so If we get 200 views i might add turbo/teleport if you put link to game that has that it would be great remember 200 views
Last edited by Musicbro27 (May 13, 2014 03:28:11)
- Discussion Forums
- » Help with Scripts
- » Save My Game