Jump to content

Drag & drop with irregular boundary


justice83
 Share

Recommended Posts

Hi there, I am fairly new to Phaser.

 

I am using the out of the box methods:

...
enableDrag(false, true);
onDragStart.add(onDragStartEvent, this);
...
 
However I noticed there is no obvious option of specifying the shape of the object to be dragged. My bitmaps are round, but enableDrag seems to only box boundary based.
 
Any pointers?
 
 
Cheers,
Daniel
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...