0.1.4 • Published 4 months ago

kaboom-util v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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

Plugins List