help with simple drag and drop game
hey folks, looking for a sharp mind to help me translate what I know from flash AS3 to gamesalad. so I'm looking to make a simple drag and drop game, think old school matching. so in AS3 I'd have objects with event listeners, when the event listener was activated by a touch it'd execute a drag script, and when let go, it'd execute a drop script. I could use a function for hit detection and kill the event listener so the original object would no longer be interactive. so...
with the help of a great member here I'm thinking i'd use an attribute (boolean) on an object. when the boolean goes true it execute a drag, and when false use a drop (constrain behavior x/y). So a mouse up and down acts as the boolean trigger. Is this the best way? part 2: how can I remove the ability for an object to be interated with when it collides with the answer space? so I can see there is a collide object, but how can I remove the interactivity permanently with the drag object? any help on this project's syntax would be great!
Comments
Firts, between you and me, I have got Flash too. Cool bro!
Second:
part 1 + part 2:
https://www.dropbox.com/sh/iwrzazdeeedtxxo/AAD2Jju-MxwjPYx5CC0sYLf2a?dl=0
If this is not what you wanted, you can reply or mail me directly and I will help you with whatever problem you are having
By the way, it is "Drag/Drop + HitDetection"
it's definitely a trick to translate what you know from AS3 to gamesalad but it will be worth it. I downloaded that folder but I can't see a file to open with GS?
ah !@#$% i'm on a mac, it looks like yours was created with windows. Thats weird you can't open different OS versions.
anyone have any ideas on how to accomplish this?
To open a Windows project folder on Mac, add .gameproj to the end of the folder name.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User