Discuss Scratch

meghansellarsxx
New Scratcher
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
Scratcher
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
New Scratcher
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
Scratcher
100+ posts

My scratch project isn't working!

is it something like this?

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
New Scratcher
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
New Scratcher
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
New Scratcher
7 posts

My scratch project isn't working!



scratch scratch
74violet
New Scratcher
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
74violet
New Scratcher
7 posts

My scratch project isn't working!

ol I'm stupid
Ravioli7899
Scratcher
14 posts

My scratch project isn't working!

Sometimes It thinks ture when its false. I dont know
cheeseleo
Scratcher
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
Scratcher
1000+ posts

My scratch project isn't working!

cheeseleo wrote:

When I click the green flag, the green flag only lasts for 0.5 seconds before stopping.
Start your own topic rather than posting on an old topic belonging to someone else.
KittenLover1000
Scratcher
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
Scratcher
1000+ posts

My scratch project isn't working!

KittenLover1000 wrote:

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.
Please start your own topic.
IroningBored
Scratcher
20 posts

My scratch project isn't working!

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

deck26
Scratcher
1000+ posts

My scratch project isn't working!

IroningBored wrote:

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

Please start your own topic.
Brontosplachna
Scratcher
100+ posts

My scratch project isn't working!

meghansellarsxx wrote:

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

Powered by DjangoBB