This package is deprecated, use kaboom-extra instead.
Kaboom Util is a npm package for have access to a lot of Kaboom comps and plugins, in only one package!
It is recommended to use this package with the latest version of kaboom, it is not guaranteed to work correctly in previous versions
npm: npm i kaboom-util
cdn: <script src=""></script>
mjs: https://example/future
import kutil from "kaboom-util";
kaboom({
plugins: [
kutil.blinkComp // returns blink()
kutil.newgroundsPlugin // returns Newgrounds Plugin Functions
]
});
loadBean();
add([
sprite("bean");
blink(0.2)
]);
/*
Or you can import a specify component
import { blinkComp } from "kaboom-util";
*/
- blinkComp - Blink your objects
- newgroundsPlugin - Use Newgrounds functions for your game