- Add options to
Game
constructor for stage pixelation and alpha
- Add
Game.fadeIn
andGame.fadeOut
- ⬆️ @mousepox/math
- Ensure whole pixel coordinates for translation and drawing
- Disable alpha on 2D canvas context
- Add
TileMap
- Change
fillStyle
parameter of theBox
constructor to be optional
- Add
Game.loadSpriteFont
- Improve canvas scaling in Safari
- Add
Scene.activate
method - Add
Box.clip
property - Use howler.js for audio
- 🔥 Remove unused CLI code/assets/deps
- 🐛 Floor Box rendering coordinates
- Add CSS class name to
Surface
canvas element - ⬆️ Update dependencies
- Add
SoundCache
- Add
Keyboard.onFirstInteract
event - Add
Keyboard.suppress
method
- 🐛 Fix image-rendering CSS property on pixelated
Surface
objects
- Add
SpriteText.width
property
- Add
SpriteText
- 💥 Remove
Grid
- Add
ActionQueue
- Add
Actor.drawOrder
- Fix bug in
Actor.disposeChildren()
- Add optional
frames
parameter toKeyboard.getKeyState
- Add
Keyboard
andDataCache
toGame
/Scene
- Add
SpriteGrid.width
andSpriteGrid.height
- Allow
SpriteGrid.grid
to beundefined
- Add
Grid.resize
andGrid.forEachInRect
- Add
Actor.dispose
andActor.disposeChildren
- 🚀 Initial version