0.21.0 • Published 9 months ago

@litecanvas/utils v0.21.0

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

Litecanvas Utilities

Small collection of tools for developing games with Litecanvas.

Install

NPM package

npm i @litecanvas/utils
// import everything
import * as utils from "@litecanvas/utils"

const pos = utils.vec(0, 0)
// or import just what you want
import { vec } from "@litecanvas/utils"

const pos = vec(0, 0)

CDN

Download from https://unpkg.com/browse/@litecanvas/utils/dist/ and load in a <script> tag in your HTML.

// now the "utils" namespace is created
const pos = utils.vec(0, 0)
// also, you can  call this once to
// expose the components globally
utils.global()

// now the namescape is not required
const pos = vec(0, 0)

Components

0.21.0

9 months ago

0.20.0

9 months ago

0.19.0

9 months ago

0.19.1

9 months ago

0.19.2

9 months ago

0.18.1

9 months ago

0.12.0

10 months ago

0.11.1

10 months ago

0.13.0

10 months ago

0.12.1

10 months ago

0.14.0

10 months ago

0.15.0

10 months ago

0.16.0

10 months ago

0.17.0

9 months ago

0.18.0

9 months ago

0.17.1

9 months ago

0.11.0

10 months ago

0.10.0

10 months ago

0.10.1

10 months ago

0.9.0

10 months ago

0.8.1

10 months ago

0.8.0

10 months ago

0.7.0

10 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.5.1

10 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.0

11 months ago

0.1.0

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago