We're releasing Kaboom v3000 beta! This major version update includes a lot of new features and improvements, and also breaking changes (see migra

Kaboom v3000 Beta Release

submited by
Style Pass
2023-01-30 22:30:08

We're releasing Kaboom v3000 beta! This major version update includes a lot of new features and improvements, and also breaking changes (see migration guide below).

Note that this is a beta release, there are bugs and possiblly breaking changes before official release. Please report bugs to github issues, and general questions / discussions to github discussions.

Objects can now have children with obj.add()! Children will inherit the transform (position, scale and rotation) of the parent.

loadFont() now loads .ttf, .otf, .woff, .woff2 fonts (any font that browser font-face supports). The function to load bitmap font is renamed to loadBitmapFont().

Go to tween example to play around with it! Press left / right arrow key to change the interpolation function, mouse click anywhere to set destination.

Previously Kaboom only supports unrotated AABB boxes for collision detection, now Kaboom supports collision detection and resolution between any arbitrary convex polygons (e.g. rotated rectangles).

Leave a Comment