Jump to content

Detect Nearby Overlaps (P2)


smartyMARTY
 Share

Recommended Posts

I have a quick question that I need to ask. I am using Phaser 2.6.2 and was wondering if I could get some help on detecting nearby overlaps using P2 exclusively (at the moment and I would hope to keep it that way for the purpose to not manage multiple physics engines). So my question is, how do I go about this? I am new to Phaser and had troubles finding working examples.

OR

If anybody has good solutions to the problem of real time combat in a top down 2D game with melee weapons and how to detect hits efficiently, that would be great! I also need this type of proximity detection for my AI as well, so that would be awesome too!

THANKS!

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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