0.21.0 • Published 11 months ago

@litecanvas/utils v0.21.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 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

11 months ago

0.20.0

11 months ago

0.19.0

11 months ago

0.19.1

11 months ago

0.19.2

11 months ago

0.18.1

12 months ago

0.12.0

1 year ago

0.11.1

1 year ago

0.13.0

12 months ago

0.12.1

1 year ago

0.14.0

12 months ago

0.15.0

12 months ago

0.16.0

12 months ago

0.17.0

12 months ago

0.18.0

12 months ago

0.17.1

12 months ago

0.11.0

1 year ago

0.10.0

1 year ago

0.10.1

1 year ago

0.9.0

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.5.1

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago