1.1.0
1.1.0
Changelog
- Game
- Added deltaTime parameter to scene update and render methods
- Fixed mobile dpr scaling while fullscreen
- Removed timeout/delay when exiting fullscreen with unfullscreen method
- Base / Render (Scene extends this class)
- Added deltaTime argument to update and render methods
- Input
- Added onKeyDown and onKeyUp methods
- Added onMouseMove method
- Sound
- Added mute and unmute methods
- Added isMuted getter
- Changed typedefs in options to Helper.defaultValue for better understanding of the default values
- Fixed volume option set to 0 but not muted bug
- Made path and element properties public
- DuckStorage
- Now JSON parses data correctly when load type is "all"
- Base
- Added Amount class to run a function a certain amount of times
- Made ran properties in Once class public
- Camera
- Changed how following a gameobjects aligns the viewport
- Misc
- Moved randomInt and randomFloat utils to core/math folder
How to download
- Download the 1.1.0.zip or 1.1.0.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.1.0.zip and 1.1.0.tar.gz both include typedefs, main file, and minified file.