Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » My scratch project isn't working!
- meghansellarsxx
-
1 post
My scratch project isn't working!
I have spent a while on my scratch game. It is a catch the fruit type game with time, score, lives and a previous score list. I was quite proud of it but now every other time, it will not work. It broadcast ‘loser’ even when lives doesn't = 0. Please help me! Also, if anyone knows how to change it into a leader board, please help! Check out the game for more information.
- drmcw
-
1000+ posts
My scratch project isn't working!
If you broadcast a message while one is already running all the receiver's scripts will restart. You broadcast loser in a forever loop. You could try changing the broadcast to a broadcast and wait, that will ensure all the loser scripts are run before the loop continues. The other thing is to break the loop by adding a stop this script after the broadcast.
- 13NGUYENT
-
2 posts
My scratch project isn't working!
Sorry to disturb, but i really need help on my game. Basically my game is about catching the balloons andthere are currently 3 levels. However my problem is that the GAME OVER sprite would appear when a sprite called NEXT LEVEL is on. This is how the game over script is so far:
ed
when green flag clicked
hide
set time left to 15
wait until time left<1
show
play sound gong until done
go to front
wait 1 second
stop all
And this is the NEXT LEVEL script
When green flag clicked
hide
set balloons to go to 4
wait until balloons to go <1
show
go to front
stop this script
Please i really need help as this is my ict homework. thank you:)
- WarriorLakepelt
-
100+ posts
My scratch project isn't working!
is it something like this?
If not, see if that helps.
when green flag clicked
set [Lives v] to [5]
forever
if <(Lives) = [0]> then
broadcast [Lose v]
end
end
If not, see if that helps.
- 74violet
-
7 posts
My scratch project isn't working!
this game is my 3th best game my best is minecraft than binweevils than scratch than light bot than purple mash and a game that I'm getting soon for 2015 is….. the sims 4 but my scratch isn't WORKING! please reply If you know thanks


when you reply pease put for 74violet thanks again





- 74violet
-
7 posts
My scratch project isn't working!
My browser / operating system: Windows 7, Unknown Browser, Flash 15.0 (release 0) I can't get scratch to work ol but I've got a another game I need to mention play pickle that isn't working so if you know how to fix it please tell me

- 74violet
-
7 posts
My scratch project isn't working!
oh I got a message and clicked on that iv'e done it



when green flag clicked
move ([scratchblocks]
) steps[/scratchblocks]
turn ccw () degrees
- Ravioli7899
-
14 posts
My scratch project isn't working!
Sometimes It thinks ture when its false. I dont know 



- cheeseleo
-
2 posts
My scratch project isn't working!
When I click the green flag, the green flag only lasts for 0.5 seconds before stopping.
- deck26
-
1000+ posts
My scratch project isn't working!
Start your own topic rather than posting on an old topic belonging to someone else. When I click the green flag, the green flag only lasts for 0.5 seconds before stopping.
- KittenLover1000
-
58 posts
My scratch project isn't working!
when I receive [English v]
switch backdrop to [ backdrop3v]
show
play sound [ v]
This is my scripting but it's not working. It just doesn't play the sound. Please help me someone with more experience! Thanks.
Last edited by KittenLover1000 (Dec. 21, 2015 16:44:13)
- deck26
-
1000+ posts
My scratch project isn't working!
Please start your own topic.when I receive [English v]switch backdrop to [ backdrop3v]showplay sound [ v]
This is my scripting but it's not working. It just doesn't play the sound. Please help me someone with more experience! Thanks.
- IroningBored
-
20 posts
My scratch project isn't working!
Ok so I did this:
What do I do if I want it so that if someone says False then someone pops up or something saying you got it wrong!!!!!!! And what do I do if I want it so that a points system says you got one wrong or something? How do I make it show that it got it right (if it gets it right)?
Love IronB
XXX
when backdrop switches to [underwater4 v]
ask [is True or False?] and wait
if <> then
end
What do I do if I want it so that if someone says False then someone pops up or something saying you got it wrong!!!!!!! And what do I do if I want it so that a points system says you got one wrong or something? How do I make it show that it got it right (if it gets it right)?
Love IronB
XXX
- deck26
-
1000+ posts
My scratch project isn't working!
Please start your own topic. Ok so I did this:when backdrop switches to [underwater4 v]
ask [is True or False?] and wait
if <> then
end
What do I do if I want it so that if someone says False then someone pops up or something saying you got it wrong!!!!!!! And what do I do if I want it so that a points system says you got one wrong or something? How do I make it show that it got it right (if it gets it right)?
Love IronB
XXX
- Brontosplachna
-
100+ posts
My scratch project isn't working!
I have spent a while on my scratch game. It is a catch the fruit type game with time, score, lives and a previous score list. I was quite proud of it but now every other time, it will not work. It broadcast ‘loser’ even when lives doesn't = 0. Please help me! Also, if anyone knows how to change it into a leader board, please help! Check out the game for more information.
You only need to check if Lives = 0 in one forever loop. You should check the number of Lives in the same script that initializes Lives, which is currently the “Round 2” sprite. Then initalizing Lives and checking Lives won't be racing against each other like they are now.
Several sprites have
when I receive [ loser ]
hide
stop [ this script ]
I think you want
stop [ other scripts in sprite ]
Also, you never need
repeat (1)
end
- Discussion Forums
- » Help with Scripts
-
» My scratch project isn't working!