Toribash 5.60b2 (build 230403) is now available on alpha branch
Updates in this build:
- Various fixes for world manipulation from Lua to make sure changes do not carry over to new game
- Full utf-8 support for replay file and folder names
- Added new camera options to Game tab in Settings: focus mode and ability to invert axes
- Added lower quality fluid blood option
- Performance improvements for flame rendering
- Performance improvements for game hud rendering
- Bloodstains option is now remembered between game sessions
- Added free orbital camera mode as a valid option for set_camera_mode() Lua function
- Improvements to UI sliders: clicking anywhere on the slider area will now automatically also push the toggle so you can keep moving the mouse to change slider position
- Rooms without Qi restriction now get a slightly translucent white belt icon in room list
- Replay hud will no longer display replay speed slider if replay hasn't yet been cached / replay speed is disabled
- Graphics presets have been slightly tweaked to adjust for new options
- Fixed bug from one of the earlier versions that broke blood reflections
- Fixed bug with free camera getting stuck when looking up
- Fixed various bugs in Replays menu windows (modify replay, create new directory etc)
- Fixed bug with replay speed potentially getting stuck at 0 on rewind_replay() Lua call
- Fixed bug with set_camera_mode() Lua function not working with free, tori and uke camera modes
- Fixed bug that was sometimes breaking the in-game report submission result screen
- Fixed in-game report screen discord link to point to https://toribash.com/discord
- New Lua functions:
- toggle_game_pause()
- is_game_paused()
- get_shader_option()
- set_shader_option()
Some other internal Lua changes that may be relevant for scripters ►- UIVisualManager is now a 2-level table
- UIViewportManager has been deprecated
- Tutorials class moved from tutorials/ to system/ directory
- All Tutorials-specific UIElements that can be accessed from the outside are now Tutorials class fields
- Added UIElement:getImageColor() to get current element image color modifier
- Added UIElement.inactiveImageColor field
- Added UIElement:isActive() to return interactive button active state
- Added UIElement.btnUpOutside function which gets executed when hoverState was BTN_DN but button up event was retrieved with cursor outside the element
- Added UIElement:setVisible() as a uniform function to trigger UIElement:show() or UIElement:hide()
- Added UIElement:setActive() as an alternative to UIElement:activate() / UIElement:deactivate()
- Added linear easing functions to UITween class
- Added math.round()
- Added utf8.explode()
- Added table.implode()
- Updated string.escape() to use utf8lib in backend to make sure it handles multibyte symbols correctly (utf8.escape() is already a function that does a different thing)
- Tweaks to Files class and make sure we can read the last line of files without newline at the end
- Added CAMERAMODE action for tutorials
- Tutorials' custom functions are now run last after all other actions to ensure step requirements table is final
- Fixes to make sure UIElements with bgGradient support the same functionality as UIElements with regular bgImage