Jump to content

Search the Community

Showing results for tags 'phaser plugin arcade circles'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. I finally finished writing the Phaser Arcade Circles plugin. Plugin on GitHub: https://github.com/VitaZheltyakov/phaser-arcade-circles-plugin This plugin adds to framework: Circle vs. Circle collision Circle vs. Rectangle collision Circle-body debug render The plugin does not reduce the performance of arcade physics. The plugin is easy to use. It does not add new functions, but merely extends existing. How to add a plugin: Add to your index.html link to plugin file: <script src="js/phaser-arcade-circles-plugin.js" type="text/javascript"></script> How to use a plugin: Then use the standard function setCircle for the circle-body. sprite1.body.setCircle(radius, offsetX, offsetY); Calculation of the collision produced as usual. No further use is not necessary functions. Note: Remember, this is an arcade physics. Not real physics. Therefore, some collisions may seem strange. Remember, that the setCircle function overrides scaling and anchor point. Examples: The repository has 4 examples of using the plugin. --- If Rachard read this post Richard, I recommend you to add this functionality in the Phaser.
×
×
  • Create New...