Verse Library verse

26 Updating The Score And Ui In The Game Loop

Initializes match setup, configures zones, and coordinates core game devices and lifecycle events.

extracted-snippets/documentation/en-us/uefn/pizza-pursuit-4-managing-and-displaying-the-score-in-verse/26-updating-the-score-and-ui-in-the-game-loop.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/uefn/pizza-pursuit-4-managing-and-displaying-the-score-in-verse
# Local doc:  epic-docs/documentation/en-us/uefn/pizza-pursuit-4-managing-and-displaying-the-score-in-verse.md
# Section:    Updating the Score and UI in the Game Loop
 using { /Verse.org/Simulation }
 using { /Fortnite.com/Devices }
 using { /Fortnite.com/Vehicles }
 using { /Fortnite.com/Characters }
 using { /Fortnite.com/Playspaces }
 using { /Verse.org/Random }
 using { /UnrealEngine.com/Temporary/Diagnostics }
 using { /UnrealEngine.com/Temporary/SpatialMath }
 using { /EpicGames.com/Temporary/Curves }
 using { /Verse.org/Simulation/Tags }

 # Game zones tags
 pickup_zone_tag<public> := class(tag):
 pickup_zone_level_1_tag<public> := class(pickup_zone_tag):
 pickup_zone_level_2_tag<public> := class(pickup_zone_tag):
 pickup_zone_level_3_tag<public> := class(pickup_zone_tag):
 delivery_zone_tag<public> := class(tag):

 log_pizza_pursuit<internal> := class(log_channel){}

 game_coordinator_device<public> := class(creative_device):
     # How long the countdown timer will start counting down from.
     @editable
     InitialCountdownTime<public> : float = 30.0

     @editable
     EndGame<public> : end_game_device = end_game_device{}

Sign in free to read the full source 🌴

This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.

Sign in with Discord

Comments

    Sign in to vote, comment, or suggest an edit. Sign in