Hey peoples, i was wondering how you make your sprite so that you cant drag it when you click the green flag, if you could tell me that would be nice
Offline
Well, every sprite is draggable in editing mode because this way you can easily move sprites where you need to be. This can't really be changed, though don't worry; this won't trail over onto the website once you upload. Also, you could try going into full-screen mode to avoid this. To do that, all you need to do is click the upper-right most button there is.
Well, I hope that this helps!
With regards,
ErnieParke
Offline
oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart
Offline
canadiandufus wrote:
oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart
Click the little lock above the script area.
Offline
canadiandufus wrote:
oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smart
To the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.
Regards,
CAA14
Offline
CAA14 wrote:
canadiandufus wrote:
oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smartTo the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.
Regards,
CAA14
Well what CAA14 showed you is a possibility, though if you use it, then there's no way to stop a sprite from being draggable. If you ever need to disable dragging for a moment during your program, then you can use this instead:
set [Offset X v] to ((x position) - (mouse x)) set [Offset Y v] to ((y position) - (mouse y)) repeat until (done?) go to x: ((mouse x) + (Offset X)) y: ((mouse y) + (Offset Y)) end
repeat until (done?) go to x: (mouse x) y: (mouse y) end
Offline
ErnieParke wrote:
CAA14 wrote:
canadiandufus wrote:
oops! i messed up on that, i wanted to find out how you DO drag sprites in game
XD im smartTo the left(or maybe right,) of the name of the sprite (in 1.4,) there is a lock that says something like "Draggable in game?". Unlock it to make the sprite Draggable.
Regards,
CAA14A more simpler, though jumpier method, is this script:
repeat until (done?) go to x: (mouse x) y: (mouse y) end
Well, I hope that this helps!
With regards,
ErnieParke
I was thinking about saying that.
And Ernie's right, if you want the sprite to become none draggable, and then draggable, and then none again, you need one of the above scripts.
Regards,
CAA14
Offline
canadiandufus wrote:
Hey peoples, i was wondering how you make your sprite so that you cant drag it when you click the green flag, if you could tell me that would be nice
You can only drag it when you are making the project. If you share the project, the sprites can't be dragged unless you click the drag option button beside your sprite name.
Offline