Minecraft Styled Building Mechanic
91,666 Views
-
# Code by Poket for 100 Blocks Island tech demo (7/19/23) using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/SpatialMath } using { /Fortnite.com/Playspaces } using { /Fortnite.com/Characters } using { /Fortnite.com/Devices } # Device for overall game management and block system construction_device := class(creative_device): @editable # Device to manage signal remote used for blocks MyRemote : signal_remote_manager_device = signal_remote_manager_device{} @editable # Asset used for the blue block BlueBlock : creative_prop_asset = DefaultCreativePropAsset @editable # Asset used for the red block RedBlock : creative_prop_asset = DefaultCreativePropAsset @editable # Prop used for the indicator of block placement HoloBlock : creative_prop = creative_prop{} @editable # Scale used to warp blue and red blocks to a cube-like shape BlockScale : vector3 = vector3{ X := 1.0, Y := 1.0, Z := 1.33333 } @editable # Detector button to check if signal remote is being held (not fully functional) HeldDetector : conditional_button_device = conditional_button_device{} @editable # Pop-up dialog to explain game at it's start StartPopup : popup_dialog_device = popup_dialog_device{} @editable # Integer to track how many blocks have been placed var BlockCount : int = 100 @editable # Pop-up message to indicate when you've run out of blocks BlockCountPopup : hud_message_device = hud_message_device{}
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.