Discuss Scratch

Necromanced
Scratcher
10 posts

Loops

so i'm making a new game on scratch and when the game finishes doing the first loop and the laser finishes, the laser keeps looping as costume 2 and not sending the message.
chopbot
Scratcher
81 posts

Loops

is it shared?
Necromanced
Scratcher
10 posts

Loops

chopbot wrote:

is it shared?
yea it is https://scratch.mit.edu/projects/572789331/editor/
deck26
Scratcher
1000+ posts

Loops

Please describe how to replicate the issue. What scripts/broadcasts are involved? I can't make much sense of your project at the moment.
Necromanced
Scratcher
10 posts

Loops

deck26 wrote:

Please describe how to replicate the issue. What scripts/broadcasts are involved? I can't make much sense of your project at the moment.
so i'm trying to making the laser, lava and the other red thing do a loop and at the end of the thing that do it broadcasts a message to move on to the next thing so basicly. Laser then lava then other red thing then laser than lava then the other red thing and on and on
griefercube
Scratcher
500+ posts

Loops

Problem in rocket broadcast. Try adding a “stop this script” under the broadcast.
deck26
Scratcher
1000+ posts

Loops

Don't use the forever loop in rocket or stop the script after the broadcast of no-more-rocket
YummyDonutLover
Scratcher
100+ posts

Loops

Maybe it's because you put a forever loop..? Sorry if I'm not helping, but I don't really understand what you're trying to say.
Necromanced
Scratcher
10 posts

Loops

griefercube wrote:

Problem in rocket broadcast. Try adding a “stop this script” under the broadcast.
thanks this helped alot I had to put a stop this script after they broadcast.
Necromanced
Scratcher
10 posts

Loops

YummyDonutLover wrote:

Maybe it's because you put a forever loop..? Sorry if I'm not helping, but I don't really understand what you're trying to say.
also getting it out of the forever loop makes it not work and stays at the edge forever
deck26
Scratcher
1000+ posts

Loops

Why are you using a different method for the third object? The other two don't use forever loops for their movement.

All looks OK to me though - try disabling the player's scripts (split the hat block from the script) and hide the sprite so it doesn't interrupt anything. Then run the project and the 3 sprites run in sequence.

Powered by DjangoBB