VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse Community Snippets›Materials/VFX·Up to Community Snippets · Materials/VFX·9 of 13 in Materials/VFX

Santa's Toy Factory Tycoon Game Loop

Santa's Toy Factory — Tycoon Core (game loop)

The end-to-end tycoon loop from Epic's Santa's Toy Factory: the game_manager that selects the factory owner and wires up the devices, the factory_manager that initialises and runs the factory (including OFFLINE production catch-up while the player was away), the config data tables that drive upgrades and orders, and the persistable player save. Read together to see how generators, upgrade tiers, currency, orders, and persistence connect.

A multi-file module from the Santa's Toy Factory Epic starter project. Epic Games reference Verse, shown for study — review the whole module together (it compiles as part of the full UEFN project, not standalone).

game_manager.verse

  • # This file defines the game_manager that handles setting up the game, manages adding and removing players,
    # and loads the factory owned by the selected player.
    
    using { /Fortnite.com/Devices }
    using { /Verse.org/Simulation }
    using { Factory }
    using { UserInterface }
    using { Utility }
    
    
    
    game_manager := class(creative_device):
    
        # UI manager for showing game UI.
        @editable
        UIManager:ui_manager = ui_manager{}
    
        # Billboard showing the owner of the factory.
        @editable
        FactoryBillboard:billboard_device = billboard_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 Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Materials/VFX · 9 of 13
Prev
fortnite vfx toggle device
Next
fortnite material function glitch

Source

Epic Games documentation

View original
VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse