Discuss Scratch

Peach-season
Scratcher
23 posts

help with script

Hey, scratcher .
I have a project that will be delivered tomorrow.
But I have a problem with it.
That when the lobster goes to pick up the key it goes away
I want the key to go with lobster.
Does anyone have how to make him go with lobster?
Peach-season
deck26
Scratcher
1000+ posts

help with script

So when the lobster has the key broadcast to the key and in the receiver script tell it to keep going to the lobster's position.
Peach-season
Scratcher
23 posts

help with script

can you do it by the script
please
deck26
Scratcher
1000+ posts

help with script

broadcast [follow me v]

when I receive [follow me v]
forever // or repeat until some condition
go to [lobster v]
end
Peach-season
Scratcher
23 posts

help with script

i share my project can you go to see it please
Peach-season
Scratcher
23 posts

help with script

deck26 wrote:

broadcast [follow me v]

when I receive [follow me v]
forever // or repeat until some condition
go to [lobster v]
end

i do this but its dosent work
EmeraldGamer1099
Scratcher
14 posts

help with script

Ok, so if you want it to have boundaries, see how long the maze it, but if you want I can remix the project, and you can remix my remix, and you'll have it again. I can fix it, but if we can only do this, sound good?
Peach-season
Scratcher
23 posts

help with script

you can do it and i will be so happy
deck26
Scratcher
1000+ posts

help with script

Properly centering the key's costume would help. The goto block will move the sprite so that the centre of the sprite's costume is at the specified location. If the centre is offset the sprite won't go where you thought it should.
Peach-season
Scratcher
23 posts

help with script

deck26 wrote:

broadcast [follow me v]

when I receive [follow me v]
forever // or repeat until some condition
go to [lobster v]
end
thank you very much
this sprite do my work

thank you deck26
EmeraldGamer1099
Scratcher
14 posts

help with script

Ok I did it!

Powered by DjangoBB