Skip to content

1.9.9 - Box2d and Plugin system!

Latest
Compare
Choose a tag to compare
@KilledByAPixel KilledByAPixel released this 04 Oct 19:28
· 26 commits to main since this release

There is now a simple plugins system and a new folder for plugins!

  • Newgrounds API moved to plugin
  • Post processing moved to plugin
  • Box2D added

Box2D features

  • Box2dObject extends EngineObject with box2d physics
  • Added wrappers for most things
  • Functions to create polygon, circle, and edge shapes
  • Raycasting and querying
  • Joint creation for every type of joint
  • Contact begin and end callbacks
  • Debug physics drawing
  • Demo that shows off all the features

More changes

  • Added headless mode for servers, skips all rendering and sound
  • Added global gain node, volume can be changed in real time now
  • Fixed some issues with touch input
  • Circular clamp speed for particles
  • Make playAudioFile use SoundWave, get rid of HTML audio
  • Many other small fixes.

Check out the LittleJS Box2D demo!

screenshot (29)