ES Recruitment Drive
Original Post
Toribash 5.60 beta - Steam (Windows, macOS)
This is the first public alpha version of the next major Toribash 5.60 update
This alpha is primarily targeted at scripters and replaymakers to give a heads-up on what's to come as it introduces some breaking changes to some Toribash Lua functionality and the new replay data protocol.
To switch to this build, choose "alpha" in the Betas tab in Toribash properties from your Steam Library.



What's new in Toribash 5.60:
Lua replay manipulation updates
All player or environment changes (position, rotation, velocity, etc) triggered with Lua are now properly stored in replay files. See the list of all new functions below.


Documentation with EmmyLua annotations
We know Toribash has been notorious for its lack of documentation when it comes to game-specific Lua functionality. With 5.60 we're adding documentation for all existing Toribash functions as well as for built-in classes like UIElement or PlayerInfo.
EmmyLua is available as an extension for VSCode or IntelliJ IDEA.

Current alpha version does not have the final documentation yet and will receive further updates closer to stable release.


Texture atlas support
You can now load a single master texture and render its specific parts. This will be especially useful if you need to draw a lot of textures which will normally get capped by max texture limit.


All Lua hooks are now executed in a predetermined order
In past, when you attach multiple callbacks to the same Lua event you couldn't predict which order they'll be executed in. This has been revised in 5.60 and now hooks will always execute in the same order as they've been added.


Raycasting functionality in Lua
You can now create raycastable bodies and shoot rays with Lua. That is cool.
Lua bodies will exist in their own space and will not collide with any other objects.


Other updates
  • Screenshots are now saved as PNG files instead of BMP
  • Vastly improved obj loading performance
  • utf8 library support for Lua
  • Blood particles now collide with static environment
  • Blood particles no longer get generated from player collisions with static environment by default (requires hardness > 0)
  • New UITween class (toriui/uitween.lua) that can be used for time-accurate animations


New build live on beta and alpha branches for Windows and macOS, changes:

  • Fixed various tutorial bugs
  • Fixed bug with replay hud not auto resizing properly on game resolution change
  • Fixed bug with some game hud being displayed in Login screen on first launch
  • Fixed bug with Store getting broken when clicking "Preview" button on 3D items
  • Fixed bug with Tooltip getting broken when previewing items in Store
  • Fixed bug with Store 3D item previews spawning redundant system messages
  • Changed default shaders config value to 1 (enabled)
  • Changed default mouse buttons config value to 1 (cycle through all 4 joint states)