Hi,
As my first project I'm trying to create a simple drag and drop make a face game. I'm looking for the ability to drag the facial features onto the face and then rotate them. The only way I've been able to get the rotation working is to add a rotate event to the event list. This makes the pieces rotate when you are dragging them. Ideally I'd like to separate the click and drag and rotate actions. Is there a better way to do this that I am over looking?
Here's what I've got so far:
dl.dropbox.com/u/7385675/FaceGame/index.html
-Owen
Develop games in your browser. Powerful, performant & highly capable.
well if its aimed to be touch based then the only way would be to add a "button" that when touched rotates the last selected object. Maybe 2 one for each direction.
If its mouse based then just make right click do rotate and left click do dragging
Thanks that works. Is there a way to make an item spin when the right button is held down?