Releases: art-emini/DuckEngine
v2.1.0
Changelog
This update increases performance and decreases memory usage and GC calls by creating a new CanvasRenderer and RendererPipeline.
This update starts the overhaul of the UI (previously Interactive) system with new features and fixes.
This update adds new features to textures by using cache and more new texture classes.
A lot more, read the full Changelog.
v2.0.1
v2.0.0
v1.2.1
1.2.1
Changelog
- Misc
I. Updated dependencies
II. Updated docs - Scene (TypeScript)
I. Made game property protected.
How to download
- Download the 1.2.1.zip or 1.2.1.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.2.1.zip and 1.2.1.tar.gz both include typedefs, main file, and minified file.
1.2.0
1.2.0
Changelog
- Maps
- Added A Map class that is to be extended for code reusability
- Made tilemap extend new Map Class
- Added ParticleContainer class
- Added new Effect class
- Preset Effects
- Added Explosion preset effect
- Added Smoke preset effect
- Scene
- Added effect to add method
- Added presetEffect object to add method
- Misc
- Updated dependencies
- Changed Version
How to download
- Download the 1.2.0.zip or 1.2.0.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.2.0.zip and 1.2.0.tar.gz both include typedefs, main file, and minified file.
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.
1.0.1
1.0.1
Changelog
- Game
- Added an option to enable dpr scaling (devicePixelRatio scaling)
- Fixed dpr scaling (devicePixelRatio scaling)
- Camera
- DPR scaling now works correctly with cameras.
- Helpers
- Added dprScale helper
How to download
- Download the 1.0.1.zip or 1.0.1.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.0.1.zip and 1.0.1.tar.gz both include typedefs, main file, and minified file.
1.0.0
1.0.0
Changelog
- Game
- Added stop method to stop the animationFrame
- Added animationFrame property
- Added delta time property
- Added mobile scaling / devicePixelRatio scaling
- Added fullscreen, unfullscreen, scaleToWindow and resetScale methods
- Added public isInFullscreen property
- Added auto canvas resize when in fullscreen
- Added smart scaling option to game options, resizes canvas if smaller than screen
- Scene
- Added loader to tools
- Added randomFloat to tools
- Added randomColorWithAlpha to color tools
- Added once method to run a function one time in a loop
- Camera
- Added setFOVSmooth and setZoomSmooth methods
- Added getters defaultFOV and defaultZoom
- Changed how following works, no need to put it in update or render in your scene
- Added stopFollow method
- Added public following method
- Added shake method
- Cutscene
- Added CAMERA_SHAKE type
- Added cameraIntervalMS and cameraTimeMS properties to step
- Particle
- Added setImagePath method
- Added public floatVX and floatVY properties
- Added public age property (based on seconds)
- ParticleEmitter
- Completely revamped ParticleEmitter
- Added emitFor method
- Added setRange method
- Added float method
- Added offloadMaxAge and offloadMaxAmount method
- Changed limitMax property on keepEmitting to a number
- Added setImagePath method
- Maps
- Implemented tilemap
- Sound
- Fixed source not being set
- Added volume option to option parameter in constructor
- Group
- Added event listeners
- Added pop, shift, and splice methods
- Added length getter
- Type parameter is now correctly being used
- Gameobjects
- Added spritesheet to gameobject
- Implemented delta time
- Sprite Gameobject
- Added applyFilter method
- Made image and path properties public
- StaticLight
- Made use of convertColorToRGBA helper
- Fixed 3 letter hex codes not working in conversion process
- Made alpha parameter required in setFillColor
- Collider
- SpriteSheets now work
- Helpers
- Added new color helpers
- Added randomColor and randomColorWithAlpha to color helpers
- Added convertColorToRGBA to color helpers
- Added version and startup helpers
- Base
- Added once class
- Interactive
- Input
- Added onClick method
- Added Button
- Input
- Text
- Text x and y properties are now separate from config property.
- Demos
- Added particle test demo
- Typescript
- Added namespace Class to Duck namespace, all classes are in this namespace
- Exported child namespace helper of Duck Namespace
- Added AlphaRange type to helper namespace
- Added NonNullable type generic to helper namespace
- Added DefaultValue type generic to helper namespace
- Misc
- Updated examples
- Updated changelog
- Updated readme
- Updated docs
- Updated dev dependencies
- Updated version to 1.0.0
- Made more properties on most classes public
- Changed hexToRGBA due to not working with 3 letter hex codes
- Updated security.md
How to download
- Download the 1.0.0.zip or 1.0.0.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.0.0.zip and 1.0.0.tar.gz both include typedefs, main file, and minified file.
1.1.2-beta
1.1.2-beta
- Added version and startup message
How to download
- Download the 1.1.2-beta.zip or 1.1.2-beta.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.1.2-beta.zip and 1.1.2-beta.tar.gz both include typedefs, main file, and minified file.
1.1.1-beta
1.1.1-beta
- Sound
- Fixed src not being set.
How to download
- Download the 1.1.1-beta.zip or 1.1.1-beta.tar.gz.
- Unpack zip or tar.gz file.
- Import DuckEngine (index.js or index.min.js file)
Files
The 1.1.1-beta.zip and 1.1.1-beta.tar.gz both include typedefs, main file, and minified file.