| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Small collection of tools for developing games with Litecanvas.
Tip
All modules of this package are automatically loaded on Litecanvas playground.
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)Download or load from a CDN:
// 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)| Back | FazBrowse Home | New Git URL |