Version 4.0.0
Change Log
This version overhauls the devkit-core build system to use node-js streams. It also replaces the java spriter with a pure-js implementation.
All Builds
- spriter uses a pure-js implementation (https://github.com/gameclosure/devkit-spriter)
--sprite-images
/--no-sprite-images
enable or disable spriting (requires latest devkit cli)- simulator builds default to no spritesheets
- image compression provided by
imagemin
in release builds--[no]-compress
toggles compression of both js and image compression--[no]-compress-images
toggles compression of image compression
- spriting and image compression now use extra cpu cores (if available)
- builds preserve modified timestamps of copied files
- cache directories are now in
build/cache
rather than in the output directory to make it easier to use the output directory without cleaning it first
Browser Builds
--application-cache
: html5 application cache disabled by default, use this flag to enable--no-web-app-manifest
: html5 web app manifest enabled by default, use this flag to disable- spritesheets no longer forced to power-of-two sizes
Android Builds
--install
and--open
now operate on all connected android devices--min-sdk-version VERSION
and--target-sdk-version VERSION
let you increase the min/target sdk versions from the default that devkit uses
Module Authors
Modules may modify the build process and create new build targets.
- bootstrap code updated for browser builds
- new
GC_LOADER
object controls the loading of the page with a pipeline of functions that execute before the main script payload executes - modules can insert code using
config.browser.footerHTML
to block the load of the page usingGC_LOADER.addStep(name, cb)
or modify theGC_LOADER.pipeline
directly.cb
functions may return aPromise
to block the call of the next item in the pipeline.
- new
- new streaming api is documented here 81795ab