Dragging and Reposition Game Elements
Kamazar
Member Posts: 287
I'm on my 3rd uncompleted game, and it has to do with bombs, falling block buildings, and all that good stuff. During the beginning of a level, you set up a series of bombs and then click a button to detonate them. A menu bar with the options of spawning, deleting, and moving is unquestionably necessary. So how would I select and drag an object (namely, the unarmed bomb) to a new location. I'm guessing somewhere along the lines of a boolean attribute, move to mouse coordinates, and then the boolean attribute again. Anyone care to clarify? And since this seems to be one of you guys favorite words... *ahem* "Cheers!"
Comments
http://gamesalad.com/wiki/how_to_gsc_drag_and_drop_movement
Good one CodeMonkey!
I know I have a weird sense of humor.
(If you don't know what I'm talking about...
http://gamesalad.com/forums/topic.php?id=323 )