How nnxi/space-founder-client-unity works
Space Founder is a Unity WebGL space-exploration simulation. The user journey begins with account access, continues through creating a personal planet, and leads into shared-space exploration: the client generates deterministic celestial objects, tracks sectors around the player, and synchronizes multiplayer state. The README also describes floating-origin world shifts, planet management, and viewing other explorers’ information. The repository tree identifies likely Unity implementation areas, but the only sampled source is generated Burst code; implementation-level call relationships are therefore not verified.
Main entry points: WorldManager.cs World Management · NetworkManager.cs Network Manager · PlanetCreationManager.cs Planet Creation · LoginManager.cs Login
Components 19
Identity and Setup
- Login
SpaceFounder/Assets/Scripts/LoginScene/Managers/LoginManager.cs - Sign Up
SpaceFounder/Assets/Scripts/LoginScene/Managers/SignUpManager.cs - User Management
SpaceFounder/Assets/Scripts/LoginScene/Managers/UserManager.cs
Planet Creation
- Planet Creation
SpaceFounder/Assets/Scripts/PlanetCreationScene/Managers/PlanetCreationManager.cs - Planet Generation
SpaceFounder/Assets/Generators/RandomPlanetGenerator.cs
World Exploration
- World Management
SpaceFounder/Assets/Scripts/SpaceScene/Managers/WorldManager.cs - Procedural Universe
SpaceFounder/Assets/Generators/RandomPlanetGenerator.cs - Chunk Tracking
SpaceFounder/Assets/Scripts/SpaceScene/Tracker/CameraChunkTracker.cs - World Shift
SpaceFounder/Assets/Scripts/SpaceScene/Managers/WorldManager.cs - Planet Interaction
SpaceFounder/Assets/Scripts/SpaceScene/Controllers/PlanetController.cs - Planet Information
SpaceFounder/Assets/Scripts/SpaceScene/Managers/PlanetInfoUIManager.cs
Networking and Services
- Supabase Auth
- Planet Records
SpaceFounder/Assets/Scripts/SpaceScene/Managers/NetworkManager.cs - Network Manager
SpaceFounder/Assets/Scripts/SpaceScene/Managers/NetworkManager.cs - WebGL Socket Bridge
SpaceFounder/Assets/Plugins/WebGL/SoketIOBridge.jslib - Socket.IO Server
- World Packet Decoder
SpaceFounder/Assets/Scripts/SpaceScene/protocols/WorldPacketDecoder.cs - Main Thread Dispatcher
SpaceFounder/Assets/Scripts/SpaceScene/Dispatcher/UnityMainThreadDispatcher.cs
Other components
- Explorer
Connections 19
- Explorer → Login: signs in
README.md - Explorer → Sign Up: registers
README.md - Login → Supabase Auth: authenticates
- Sign Up → Supabase Auth: creates account
- Explorer → Planet Creation: creates planet
README.md - Planet Creation → Planet Generation: generates planet
- Planet Creation → Planet Records: records planet
- Explorer → World Management: explores space
README.md - World Management → Procedural Universe: generates objects
README.md - World Management → Chunk Tracking: tracks sectors
README.md - World Management → World Shift: shifts origin
README.md - Explorer → Planet Interaction: visits planets
README.md - Planet Interaction → Planet Information: views information
- World Management → Network Manager: syncs world
- Network Manager → WebGL Socket Bridge: bridges sockets
README.md - WebGL Socket Bridge → Socket.IO Server: exchanges data
README.md - Network Manager → World Packet Decoder: decodes packets
- Network Manager → Main Thread Dispatcher: dispatches updates
- Explorer → Network Manager: meets explorers
README.md