Documentation for 0.31
Table of contents:
- solid entities with solid hitboxes
- rendering ui to texture with 'frame' element
- loading vector fonts support with freetype library
- defining skeletons in VCM files
- project permissions system
- executing commands from stdin ('--stdin-cmd' command line argument enables it)
- added clouds, so sky is no more so deadly clear
- ui:
- added 'onmouseenter', 'onmouseleave' events
- added 'zIndex' common scripting property
- added 'inventory' scripting property to slot element
- added 'font' attribute
- added 'text-align' label attribute
- added 'frame' element
- added 'fallback' image attribute
- particles:
- added 'spawn_offset' property
- audio:
- added acoustic effects (reverb)
- added 'audio.acoustic-effects' setting
- added 'record-audio' project permission
- projects system:
- added project permissions configuration
- added 'debugging' permission
- added 'base:flat_grass' world generator
- added ssao quality setting
- added background assets loader
- vcm format:
- added 'bone' (model/skeleton node) element
- added 'tri' (triangle) element
- added 'on_inventory_interact' hud event
- added weather properties:
- 'sky_tint'
- 'clouds_tint'
- 'min_sky_light'
- added block properties:
- 'grounding-behaviour' (extended blocks)
- explicit 'solid' visual property
- added world generator parameters:
- 'player-spawn-radius'
- 'player-min-spawn-height'
- 'player-max-spawn-height'
- added 'material' entity property
- added patch number to engine build produced by release pipeline
- new functions arguments:
- added 'skeleton_name' argument to assets.parse_model
- added 'include_non_selectable' argument to block.raycast
- added 'variant_index' argument to block.get_model, block.model_name, block.get_textures
- added optional 'emission' argument to gfx.blockwraps.wrap
- added gui.load_document namespace extension table
- added freetype dependency
- assets.request_texture
- block.get_hitbox
- entity.rigidbody:get_elasticity
- entity.rigidbody:get_mass
- entity.rigidbody:get_material
- entity.rigidbody:set_elasticity
- entity.rigidbody:set_mass
- entity.rigidbody:set_material
- entity.rigidbody:get_ground_vel
- gfx.blockwraps.set_faces
- gfx.blockwraps.set_tints
- gui.close_menu
- gui.create_frame
- gui.get_active_frame
- gui.set_active_frame
- hud.get_second_inventory
- hud.is_player_inventory_open
- mat4.perspective
- quat.from_euler
- session.get
- session.has
- session.reset
now documented:
- audio.input.get_input_info
- gui.ask
- gui.show_message
- minor visual restoration
- assets.parse_model now supports OBJ format
- chunks loading optimizations
- app.load_content, app.reset_content, app.reconfig_packs and app.config_packs calling limited to app script coroutine and time.post_runnable context
- debug panel updated a bit
- pass app library from standard pages loader
- skeletons are now assets
- fix vec3 shadeless flag
- fix: missing extended block size limit check
- fix extended block grounding
- fix blocks variants
- fix fatal exception caused by empty skeleton model texture name
- fix blocks random tick
- fix 'attempt to compare string with number' in audio.input.fetch
- fix: FFI library access from non-built-in scripts vulnerability
- fix non-lighted chunks saving
- fix: attempting to build lights in non-local players chunk matrices
- fix extended blocks collision detection
- fix: block inventory not removing in some cases
- fix extended blocks culling on chunk borders
- fix: player name text is still visible when suspended
- fix: crouching falling prevention does not reset velocity & fix small hitboxes horizontal collision
- fix: macos build pipeline uses OpenAL.Framework instead of openal-soft
- fix: assets access attempts in headless mode leading to segfaults
- fix crash in headless
- fix advanced render setting tooltip
- fix io_stream.write_line
- fix bytearray view classes
- fix extra faces when dense mode is off
- fix fatal error when skeleton is missing
- fix entity skeleton name serialization
- fix on_chunk_register_event
- fix: player entity body is active before player flight state applied
- fix: player not spawning entity after set_suspended(pid, false)
- fix incorrect 3d text preset for existing players
- fix: player.set_suspend(pid, true) leaves entity in the world
- fix nested vcm elements
- fix unchecked indices buffer overflow
- fix gui.show_input_dialog key:escape reaction
- fix app.reset_content args
- fix gfx.posteffects.set_intensity
- fix blocks raycast filter
- fix conditional jump or move depends on uninitialised value in GLFWWindow
- fix debugging server creation
- fix on_blocks_tick interval
- fix: inventory interaction on "disablePlayerInventory = true"
- fix: checkbox hover color
- fix a typo in the vector3:rot and duplicate vector2.__eq
- fix gfx.blockwraps.set_texture
- fix: chunk border wigth change when render block selection
- fix block model change wrapper reaction
- fix: InventoryView: when moving one object with the right mouse button, the phantom remained
- fix: integers signs are unspecified in binary_json_spec.md
- fix fragment:place lights
- fix: 'shadeless' block property ignored if custom model is used
- fix custom model blocks lighting
- fix inventory.set
- fix fatal error on invalid item id in inventory
- fix on_block_tick timer
- fix on_block_tick triggered while paused
- fix hover elements lifetime
- fix shadeless blocks with soft lights disabled
- fix libpng error handling
- fix corrupted voxel reset
- fix overriden content units scripts overriding
- fix block ticks
- fix nil coords passed to on_block_tick
- fix: incomplete size transform support by entities
- fix exception if model having invalid variable texture passed to modelviewer
- fix canvas:set_data with table argument
- fix generated item's script
- fix ui elements overriding
- fix: pack environment not passed to components
- fix 'unexpected end' while parsing .obj
- fix: bad_alloc if canvas element size is negative