This release mainly focuses on HTML5 support. It adds means for asynchronnous loading of BBMOD model and animations, as well as regular buffers and sprites, which is required for HTML5. Mouselook was also fixed using a JavaScript extension. Additionally there is now a new resource manager module, which greatly simplifies loading or resources, retrieval of already loaded resources and freeing of all loaded resources from memory. The demo project was also reworked into a minigame to show off these new features.
bbmod_buffer_load_async
, using which you can asynchronnously load buffer from a file.bbmod_async_save_load_update
, which must be executed in the "Async - Save/Load" event if you use asynchronnous loading of buffers.bbmod_sprite_add_async
, using which you can asynchronnously load sprite from a file.bbmod_async_image_loaded_update
, which must be executed in the "Async - Image Loaded" event if you use asynchronnous loading of sprites.bbmod_empty_callback
, which is an empty callback for asynchronnous functions.BBMOD_Resource
, which is now the base struct for all BBMOD resources. This struct contains methods from_file
and from_file_async
, using which you can load resources from file synchronnously or asynchronnously. When using asynchronnous loading, property IsLoaded
is false
until the resource is loaded. Asynchronnous loading of files is required for example on the HTML5 platform.BBMOD_Sprite
, which is a sprite resource.BBMOD_Model
and BBMOD_Animation
now inherit from BBMOD_Resource
.BBMOD_BaseMaterial
now inherits from BBOMD_Resource
too, though it does not yet support loading from files/buffers.BBMOD_Model
constructor are now optional.BBMOD_VertexFormat.get_byte_size
, which returned incorrect values when the vertex format included vertex colors or bones.BBMOD_EV_ANIMATION_END
. This caused unexpected behavior of animation playback, animation state machines etc.BBMOD_ResourceManager
, using which you can load any BBMOD resource. These are automatically destroyed when the resource manager is destroyed.VignetteColor
to BBMOD_Renderer
, which is the color of the vignette effect.UseAppSurface
is destroyed, it again enables automatic rendering of the application surface.Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.