Skip to content

Big Box 3D v1.5.0

Latest
Compare
Choose a tag to compare
@theMK2k theMK2k released this 24 May 16:38
· 1 commit to main since this release

Background Image Slideshow

The background image feature has been enhanced to support slide shows. Just provide your background images with an increasing counter, like this:

my-game-bg0.png
my-game-bg1.png
my-game-bg2.png

Big Box 3D will automatically present them in this order as a slideshow. The time between changes is 10 seconds by default and can be adjusted with the bginterval config option / URL parameter.

Breaking change: if you only want to provide just one background image, name it my-game-bg0.png instead of my-game-bg.png.

Video Backgrounds

Big Box 3D now supports video backgrounds:

provide a my-game-bg.mp4 file and set the background file extension to mp4 within your config or via bgext=mp4 URL parameter and Big Box 3D will use that video as the background.

Rotation Parameters

You can now customize the speed and amortization behavior as well as the initial rotation with the following config options:

option description default value example
rotation_speed the rotation speed of the box when mouse-dragged (default: 20, range: 1-100) 20 40 for faster rotation when mouse-dragged
rotation_amortization the amortization of the rotation speed when mouse released (default: 0.91, range: 0.1-1.0) 0.91 0.99 for slower amortization, 0.87 for faster amortization, 1.0 for no amortization at all
rotation_initial_x initial rotation on the x-axis (default: 0.15, range: -1.0 to 1.0) 0.15 0.20 for a faster initial rotation, -0.15 for inverted initial rotation
rotation_initial_y initial rotation on the y-axis (default: -0.15, range: -1.0 to 1.0) -0.15 -0.20 for a faster initial rotation, 0.15 for inverted initial rotation

Other changes

  • Breaking change: extlink2 and extlink2_innerhtml (introduced in release v1.4.0) are now renamed to extlink and extlink_innerhtml
  • the loading text is now displayed at the center (vertically and horizontally)
  • glMatrix updated from 2.3.2 to 3.4.3