Kaboom.js v0.1.0 Release Notes
-
- (BREAK) changed default origin point to
"topleft"
, so if you want object origin point to be at center you'll need to manualorigin("center")
- (BREAK) integrated
kit/physics
andkit/level
to main lib - (BREAK) makes
collides()
only run on first collision, not run every frame during the same collision - (BREAK)
camPos()
by default focuses to center, socamPos(player.pos)
puts player in the center of the screen - (BREAK) renamed
kaboom.import()
tokaboom.global()
- ➕ added an arg field to
start(scene, ...)
to forward args to start scene - ➕ added
camScale()
,camRot()
andcamIgnore()
- ➕ added
obj.overlaps()
byarea()
, andoverlaps()
- ➕ added 3 ext fonts under
ext/fonts
- (BREAK) changed default origin point to