[Behavior] Box2D+ (asm.js r2.3.0; v2.0)

Not favoritedFavorited Favorited 1 favourites
From the Asset Store
Add juicy impact to your game with a flexible, high-quality shake effect for sprites, text or the whole screen!
  • Platform behavior now available! Box2D+ updated to accommodate it. Please check out the download page for more details and report any bugs you find.

    Download.

    Discussion thread

  • gameba - thanks for the bug report. Had me concerned for a while, but thankfully it was caused by floating point errors in the polygon decomposition function - that polygon shape in frame 2 was perfect to reproduce it, for some reason.

    Update: v1.05

    Bug fixes:

    Floating point error compensation in the complex polygon decomp function

    Fix possibility of incorrect object refs causing errors when they are destroyed

  • Colludium I tried the platform behaviour and flow but got this when previewing. I only added a sprite and put the bahaviour on it. Any idea why?

  • Colludium I tried the platform behaviour and flow but got this when previewing. I only added a sprite and put the bahaviour on it. Any idea why?

    You also have to have the Box2D+ behavior on the object - I'm hoping that you don't...?! Just in case, I'll amend the behavior to work-around this. Give me a few minutes.

    Edit - it was probably a bug with the Platform helper behavior. Please re-download and it should be fixed.

  • gameba - thanks for the bug report. Had me concerned for a while, but thankfully it was caused by floating point errors in the polygon decomposition function - that polygon shape in frame 2 was perfect to reproduce it, for some reason.

    Update: v1.05

    Bug fixes:

    Floating point error compensation in the complex polygon decomp function

    Fix possibility of incorrect object refs causing errors when they are destroyed

    nice work, awesome behavior.

  • nice work, awesome behavior.

    Thank you ??

  • Update to v 1.06

    Bug fix - added support for Tiled Bacground objects.

    (thanks !)

  • Awesome, thanks

  • Update to v 1.07

    Tweaked the image analysis function. This plugin now also works in Construct 3...!!

  • Hi Colludium

    I'm interested using your plug-in for mobile games. Is it better in performance on mobile than the standard plug-in?

  • Hi radbrothers,

    I think that my plugin probably has similar performance overall compared to the standard asm.js version. There are some differences that I noticed during the stability test comparisson (linked from the main demo in the first post) - on my laptop I found that the standard asm.js failed the stress test at tower heights that my plugin coped with easily (including my plugin registering collisions between the blocks whereas none were tested for in the standard plugin because it doesn't give collision position). It might be a case of different hardware / versions of Chrome cause variations in the way each plugin behaves in each browser. Bottom line - you probably won't notice much difference on most machines, but hopefully this one is better because it's based on a more up to date version of Box2D (r2.3.0 compared to r2.1.alpha).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Please note the following limitation of the plugin:

    There is a minimum fixture edge length that is supported by Box2D+. If an edge is smaller than this limit then Box2D+ creates a large box shape instead (which is not helpful!) I am working on a patch to protect the user from being able to exceed this limitation.

  • Updated the limitation in the post above.

  • Colludium Nice, I'm experimenting with this. It's quite different from the other physics I've used so it takes some time to get a hang if it Are you working on a physics game using this atm?

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)