How terminalcrazy1/planet-null works
Main Components
A. Client-Side Components:
• Player System
• Movement Controller
• Combat System
• Inventory Management
• Skills System
• Terrain System
• Height Generation
• Water Generation
• Resource Generation
• Building System
• Rendering Pipeline (URP)
• UI Layer
• Main Menu
• Server Browser
• Build Menu
B. Server-Side Components:
• Networking Layer
• Game State Manager
• World State Persistence
• Anti-Cheat System (Packet Spoofing Protection)
┌─ Client Layer ─────────────────────┐
• UI → Player Controller → Rendering │
• ↑ ↕ ↑ │
• Input Game Systems Assets │
• ┬───────────────────┘
• ↕
┌─ Network Layer ──────────────────┐
• Client-Server Communication │
• Anti-Cheat / Security │
• ┬────────────────────┘
• ↕
┌─ Server Layer ─────────────────┐
• World State → Persistence │
• Game Logic → Player Data │
• ┘
Important Relationships to Highlight
• Player Controller's interaction with the terrain system
• Building system's dependency on terrain
• Combat system's integration with networking
• Resource generation's connection to world persistence
• UI system's connection to game state
Specific Implementation Details
• Universal Render Pipeline (URP)
• Physics2D system
• Scene management
• Prefab system (Player, Weapon, TerrainManager)
Data Flow Indicators
• Real-time player updates
• World state synchronization
• Resource gathering and modification
• Combat interactions
• Building placement validation