Skip to content

Latest commit

 

History

History
181 lines (165 loc) · 12.2 KB

File metadata and controls

181 lines (165 loc) · 12.2 KB

0.31 - 2026.03.22

Documentation for 0.31

Table of contents:

New Features

  • 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

  • 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

New Functions

  • 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

Changes

  • 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

Fixes