Skip to content

Releases: hexus/phaser-arcade-slopes

0.3.1

23 Apr 12:53
Compare
Choose a tag to compare

v0.3.1 - 1st March 2018

  • Implemented Facade.resetCollision() helper method. This can be used to reset all Arcade Physics body collision flags to their default values.
  • Fixed typescript definition for game.slopes.

0.3.0

05 Aug 12:18
Compare
Choose a tag to compare

v0.3.0 - 5th August 2017

  • Removed the snap feature (#34)
  • Removed heuristics in favour of a custom SAT implementation that prevents
    internal edge collisions (#36, #38, #40)
  • Implemented debug rendering for tile normals and ignored tile normals
  • Implemented simple object pooling for less memory-hungry calculations (#42)
  • Improved the consistency of SAT responses and overlap values set on physics
    bodies

0.2.1

01 Aug 21:20
Compare
Choose a tag to compare

v0.2.1 - 1st August 2017

  • Dropped bower in favour of npm to load in the SAT.js dependency.
  • Added a banner to the minified distributive as part of the build process.
  • No functional changes.

0.2.0

18 May 23:33
Compare
Choose a tag to compare

v0.2.0 - 18th June 2017

  • Added heuristics for square tiles to improve skipped collisions (#38) at the
    expense of some inconsistencies when bodies exit tiles from inside.
  • Allowed physics bodies to disable and enable heuristics for themselves using
    body.slopes.heuristics. null uses default, false disables and true
    enables.

0.2.0-beta2

07 May 04:02
Compare
Choose a tag to compare
0.2.0-beta2 Pre-release
Pre-release

v0.2.0-beta2 - 7th June 2017

  • Implemented unintrusive support for an experimental Phaser CE fork.
  • Added sprite scale support for AABB physics bodies.
  • Included a reference to the plugin with the facade. This makes it easier to
    remove the plugin at runtime
    (this.game.plugins.remove(this.game.slopes.plugin)).
  • Fixed multiple calls to slopes.body.enable(sprite) causing an error.
  • Ensured that tilemap debug rendering only wraps if the layer has its wrap
    property set to true.
  • Fixed wasTouching flags (#35).
  • Added the last collided tile to body.slopes.tile.
  • Fixed a heuristics mistake that's been around since May 2016 (4ee0d23)! There
    are probably more...
  • Fixed a wrapping issue with tilemap layer debug rendering.
  • Added dynamic heuristics and preferY properties to the Facade, making it
    simpler to toggle these features globally (game.slopes.heuristics,
    game.slopes.preferY).
  • Fixed SatSolver.collide() setting collision response properties on physics
    bodies before knowing whether the separation was successful.
  • Fixed SatSolver.collideOnAxis() not setting collision response properties on
    physics bodies.
  • Improved memory consumption by reusing SAT response objects for each body.

0.2.0-beta

10 Feb 21:04
Compare
Choose a tag to compare
0.2.0-beta Pre-release
Pre-release

v0.2.0-beta - 10th February 2017

  • Supported tile collision flags when determining separation (#27, #28,
    thanks @kevinchau321).
  • Fixed collision snapping running when it shouldn't (#21, thanks
    @michaeljcalkins).
  • Implemented tile slope polygon debug rendering (#4).
  • Added premade Arcade Slopes tilesets (#29).
  • Implemented Arcade Slopes tileset mapping shortcut (#9).
  • Implemented support for tile property type mapping (#9).

0.2.0-alpha2

09 Feb 17:37
Compare
Choose a tag to compare
0.2.0-alpha2 Pre-release
Pre-release

v0.2.0-alpha2 - 8th February 2017

  • Prevented separation if a body isn't moving into a tile (#14).
  • Refactored the plugin class to attach the Facade to the Phaser game instead of
    itself.
  • Extracted a separate roadmap file from the readme.
  • Implemented automatic slope mapping for the Ninja Physics tileset.
  • Added missing touching flags for physics bodies (#19, thanks @IkonOne).
  • Implemented internal edge flagging (#18).
  • Updated SAT.js dependency.
  • Implemented support for offset tilemaps (#26).

0.2.0-alpha

19 Aug 15:14
Compare
Choose a tag to compare
0.2.0-alpha Pre-release
Pre-release

v0.2.0-alpha - 19th August 2016

  • Initial circular physics body support.
  • Typescript definitions (#12, #15, thanks @IkonOne).

0.1.1

26 Jun 15:00
Compare
Choose a tag to compare

v0.1.1 - 26th June 2016

  • Implemented corner collision pulling (#3).
  • Fixed incompatibility with Phaser 2.4.9 and 2.5.0 (#5).
  • Updated the readme regarding changes to physics body sizes before enabling
    slopes (#6).

0.1.0

23 May 20:27
Compare
Choose a tag to compare

v0.1.0 - 22nd May 2016

  • Collision pulling; an alternative approach to sticky slopes.