Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » help with script
- 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
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.
- 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
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?
- 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
thank you very muchbroadcast [follow me v]
when I receive [follow me v]
forever // or repeat until some condition
go to [lobster v]
end
this sprite do my work
thank you deck26
- Discussion Forums
- » Help with Scripts
- » help with script