In-game Editor Update

Tabletop Playground

The modern digital tabletop game for fans and creators! Featuring deep customization and choice, enjoy more immersive tabletop sessions with friends than ever before. Build new rule sets for traditional games, play custom-made games by the community or create your own and share them with the world.

This update is all about the in-game editor (also known as preview mode). There are several changes and updates that remove the need to return to the main editor view for most uses: • Add "New Template" button in object library for edited package in preview mode • Add "New Folder" button in object library for edited package • Add buttons on templates in object library for edited package to allow editing, duplicating, and removing templates • Allow Drag&Drop for templates in edited package to move them between folders, in object library and main editor window • You can now edit templates of objects from other packages. Before modifying, you'll need to save them as new templates in the edited package. • Editing scale, color and other properties of templates that also exist as object properties during preview mode is now more consistent • Changed buttons in preview mode to "Close", "Save as New", "Save and apply" • Allow editing card stack properties when editing a card template in preview mode. The cards in the edited stack and other card stacks from the same template will be reset to the template default on saving. • Don't lift penetrable held objects above regular objects [b]Scripting[/b] • Add `UIElement.castShadow` to allow control over whether a UI casts shadows • Add `CheckBox.setBackgroundTransparent` and `CheckBox.isBackgroundTransparent` to make the box invisible while it is unchecked • Always call `GameObject.onReleased` when an object is released. Before it wasn't called when the object was snapped. • Ensure that non-interactive objects are included in scripting traces and overlap queries [b]Fixes[/b] • Fixed issues when using drag&drop in the card stack explorer and container explorer • Editing relative scale of labels and zones did not work properly • Zooming objects with certain UI widgets could crash the game when the zoom was supposed to show UI • Zooming to cards in card stack explorer as client could cause an error message to be displayed • Lighting settings had no effect in Cyberpunk environment • `CheckBox` check state changes on host weren't shown on clients • `MultilineTextBox.setBackgroundTransparent` was not replicated to clients • Zoomed size could be wrong for objects that had UIs with `UIElement.useWidgetSize = true` and `UIElement.zoomVisibility != UIZoomVisibility.Regular` • `TextBox.setBackgroundTransparent` and `MultilineTextBox.setBackgroundTransparent` did not make the text box fully transparent while hovered or focused • Using `StaticObject.onSnappedTo` could cause a crash after reloading scripts