Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Platypus v0.6.8

Compare
Choose a tag to compare
@probityrules probityrules released this 18 Dec 20:26
· 521 commits to master since this release

Bug Fixes

  1. CollisionBasic: Fixed margins on collision areas.
  2. RenderDebug: Correctly positions debug shapes to outline an entity's collision shape.
  3. RenderTiles: Fixed parallax scrolling for certain types of cached backgrounds.
  4. Motion: Made this component correctly handle instant events like jumping.
  5. ComponentSwitcher: Component-switching now takes place within the game loop just prior to "handle-logic" to provide more consistent behavior than the original setTimeout method.
  6. LogicWindUpRacer: Now applying delta time to movement values.

Minor Changes

  1. Motion: Deprecated inconsistent syntax and put in event handlers to replace original syntax.
  2. Mover: Replaced "handle-logic" with a "handle-movement" listener to separate movement from other Entity logic.
  3. Mover: Inverted friction and drag values so that none is 0 rather than 1 for clarity.
  4. Mover: Updated maxMagnitude to accept an object describing magnitudes for particular directions. Added a maxMagnitudeDelta property to constrain a change in magnitudes if needed.
  5. Mover: Added "pause-movement" and "unpause-movement" event listeners to Mover.
  6. ComponentSwitcher: Added an event when the ComponentSwitcher has successfully removed and/or added components to an Entity.
  7. HandlerLogic: Added two event triggers to precede and follow the "handle-logic" event: "prepare-logic" and "handle-movement" respectively.
  8. EntityController: Vastly improved this component's handling of controls across an Entity's various states. This is useful for blocking or adding certain inputs if, for example, a character is stunned or gains a new ability. Additionally, multiple mappings to the same behavior now provide a consistent response. For example, if both "z" and "spacebar" cause a player to jump, both must be released before the controller triggers "released". A new ActionState object has been created to encapsulate the input and state relationship.
  9. Camera: Deprecated the "camera-stationary" message in favor of "camera-update" with a new stationary Boolean property.