Reusable Containers are good for creating objects that are repeated throughout a Hype and have shared properties. For example collectables, like coins. Reusable Containers can also be applied to objects to give that object the game logic in the container.
The contents of an Reusable can be made visible or hidden in the editor by clicking the Hide/Show Icon at the bottom of the screen when the Instance is selected.
Edits made to the original Instanced Container will also be applied to any copies that have been made from it. Let's say we decide we want our coins to be a football, we can open the Visual Component in the Details panel on the coin in the Reusable Container and change it to a football and all our coins are now footballs.
Users can create their own Reusable and there are also a wide variety of premade Reusables & Add-ons available in the asset library.
When making copies of a Reusable there are 2 options:
This will make a copy of the Reusable's contents that can be placed in the Hype.
When editing the Reusable, either the original container or any of it's "children", those changes will also be applied to all of these copies.
This will create a new, separate version of the Reusable Container and it's contents.
Edits made to the original Reusable will not affect this new one and edits made to this new Reusable will not affect the original or any copies made of it.
*Note: Reusables were previously called Instances, in these videos the Reusable is referred to as an Instance.
Adding Collectables Tutorial
This video includes working with instances & using Add-ons to add game logic to a Hype.
How to Create Hazardous Spikes
Using Premades & Add-ons to add game logic
How to Change Jump Animation in Premade Playable Character
Editing Add-ons & Instanced containers in Premade assets.
Instead of the details menu that most components have, Instances have a node-based visual scripting editor! Access this editor from the Details Icon at the bottom of the screen with the Instance selected.
Component Nodes will appear as 2D tiles in this editor. They can be moved around by clicking and dragging on the tile. The screen can be scrolled, allowing room for many component nodes. Add more components to the Addon with the button on the lower left.
The Add Link option allows you to make connections between nodes. Click the plus and select what type of connection you'd like to make, then drag from the 3 dots to the desired component and choose the desired function.
Unselected, the Component Nodes will only display their connections to other Nodes. Tap on a Node to expand it's view and edit it's parameters.
Finally the Reusable can be given a name. As your Hypes become more complex keeping your components organized and named will make coming back to edit or remix them much easier.