Jump to content

Object overlap by polygon


Recommended Posts

Hi all,


I'm new to Phaser, and I need help to accomplish my goal in my new game.


In my game I need to do this :

when user click+drag around object, that object disappear. I managed to create the polygon shape after user release the mouse. But handling to check if object is overlap (surrounded) by the polygon is not correct.


This is the demo built other tool : http://jeembastudio.com/games/Cookies/


I have to build with Phaser because there's thing I can't make with that other tool.


Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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