Skip to content

Repository files navigation

Litecanvas Utilities

Small collection of tools for developing games with Litecanvas.

Tip

All modules of this package are automatically loaded on Litecanvas playground.

Install

NPM package

npm i @litecanvas/utils
// import everythingimport*asutilsfrom"@litecanvas/utils"constpos=utils.vec(0,0)
// or import just what you wantimport{vec}from"@litecanvas/utils"constpos=vec(0,0)

Global/CDN

Download or load from a CDN:

// now the "utils" namespace is createdconstpos=utils.vec(0,0)
// also, you can call this once to// expose the components globallyutils.global()// now the namescape is not requiredconstpos=vec(0,0)

Components

About

🛠️ collection of tools for developing games with litecanvas.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages