This project was an attempt to see how awkward (or not) it would be to create a simple "point-n-click" puzzle. I'm helping my kids learn, and this was my "can it be done" project. :-)
Couldn't figure out the "best" way to make sprites that you could click and drag. If you look for mouse down + touching sprite (and move the sprite in that case), that will "work", but if you move over other "draggable" sprites you will end up "collecting" all of them. I wanted only one sprite at a time to be dragged.
Look at the Key-Inv sprite to see the drag script. This ensures that when you drag the key (sprite Key-Inv) over, say, the crowbar (sprite Crowbar-Inv), you will not pick up and move the crowbar too.
The ClickDetect variable ensures that only one draggable inventory item can be dragged at one time.
Comments
You need to be logged in to post comments
Add a Comment
it is cool!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i is cool
IMPORTANT: Make sure to click the GREEN FLAG *FIRST* to start, otherwise some things won't work properly.
This project was an attempt to see how awkward (or not) it would be to create a simple "point-n-click" puzzle. I'm helping my kids learn, and this was my "can it be done" project. :-)