kaboom-util
v0.1.4
Published
Collection of components & plugins for Kaboom
Downloads
30
Maintainers
Readme
Kaboom Util 💥📦
⚠️⚠️⚠️⚠️⚠️⚠️ ALERT ⚠️⚠️⚠️⚠️⚠️⚠️⚠️
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
Install
npm: npm i kaboom-util
cdn: <script src=""></script>
mjs: https://example/future
Quick Example
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";
*/
Components List
- blinkComp - Blink your objects
Plugins List
- newgroundsPlugin - Use Newgrounds functions for your game