Posted June 17, 2025 by Luiz Bills
#gamedev #game-engine
CHANGELOG
WIDTH
, HEIGHT
, CENTERX
, CENTERY
, MOUSEX
, MOUSEY
and ELAPSED
to, respectively, W
, H
, CX
, CY
, MX
, MY
and T
.round()
now accept a 2nd param to precision. Example: round(PI, 3) == 3.142
.wave()
.seed()
to rseed()
.iskeypressed()
.colcirc()
and colrect()
.pal()
.getcolor()
.setvar()
to def()
.setfps()
to framerate()
.stat()
.litecanvas()
option pauseOnBlur
.paint()
now returns a ImageBitmap
.More details in https://litecanvas.js.org/about.html