I am using event to move objects with finger/mouse. All objects have behavior "Bound to layout" and it's really nice that all objects cannot be moved outside of game. But when I move objects I can put one object on the top of other. How to prevent this?
There is a file to edit: http://terademix.com/move.capx
Example: <img src="http://terademix.com/move.png" border="0">
Develop games in your browser. Powerful, performant & highly capable.
2 events only ^^
didn't know drag&drop behavior worked on touch devices... nice (:
Thanks, it's working well.
Actually in my game I have around 8 moving objects, all of them are different sizes and shapes. How can I do the same with 8 completely different objects?
Using families, or not using 8 objects, but instances of a single object, displaying a different animation frame each.
Awesome thanks for the quick help here. I can see this becoming one for the FAQ.