- Changed: sets graphic depth so it's always on top.
- Changed: Phaser v3.53.0 or later is required.
- Changed: uses the scene
PRE_RENDER
event instead ofPOST_UPDATE
.
- Fixed: bounds display for objects with scale 0.
- Removed: drawing points and vertices. Use the
setDebug()
methods of Mesh and Rope instead. - Added: draws Lights.
- Added: draws game objects in Layers.
- Fixed: Mesh and Rope vertices were not drawn.
- Fixed: Masks now drawn only once.
- Removed: CommonJS build.
- Fixed: error for Star game objects.
- Added: draws camera
followOffset
. - Changed: draws a dot for camera follow target.
- Changed: draws no box for objects with size but no origin (Blitter, Mesh, Quad, Rope).
- Added: draws object
points
(e.g., Rope). - Added: draws a vector for dragged input pointer.
- Changed: object vertices are scaled.
- Fixed: start by
load.scenePlugin()
.
- Added drawing object vertices.
- Changed default
pointerDownColor
.
- Added drawing the camera follow target.
- Changed the default colors. More saturated.
- Switched to the scene's
postupdate
event, fromrender
.
- Changed the default
color
value, now light blue again.
- Added drawing of camera bounds.
- Added drawing of camera deadzone.
- Changed the default colors slightly.
- Removed input hit area shapes. This is better done with input.enableDebug().
- Changed the
dist/
file names. - Changed: when a scene is inactive (paused) or has input disabled, its input pointers are hidden.
- Changed: when a scene is inactive (paused) or has input disabled, any interactive objects are drawn in
color
, notinputColor
orinputDisabedColor
. - Fixed rotation angle.
- Fixed pointer position for offset cameras.
- Added
inputDisabledColor
for disabled interactive objects.
- Added toggle method.
- Added
showInput
andshowRotation
options. - Changed the default pointer colors.
- Added display of input pointers.
- Added display of object rotation.
- Changed the size of the origin point.
- Changed the default styles to 100% alpha and 1px stroke width.
- Added proper dimensions for objects with no
displayWidth
anddisplayHeight
.
- Added drawing a point for object position (origin).
- Changed the 'main' file. There are now 3 package builds for 'browser' (UMD), 'main' (CommonJS), and 'module' (ES6).
- Added polygon hit areas.
- Added automatic bringToTop() call.
- Required Phaser v3.19 or above.
- Updated dev dependencies.
- Changed Phaser to a peer dependency.
- Updated dev dependencies.
- Changed 'main' file to
src/index.js
(ES6 module).
- Updated dev dependencies.
- Fixed error for unknown hitArea constructor.
- Updated README.
- npm release.