TerraFlux 2D is a procedural world framework for Unity featuring deterministic seeds, chunk streaming, seasons, persistent decorations and Mirror multiplayer support.TerraFlux 2D is a modular and extensible procedural world framework for Unity, designed for 2D top-down games and fully compatible with multiplayer projects using Mirror.It provides a complete foundation for generating infinite worlds with deterministic seeds, chunk-based streaming, persistent decorations and synchronized seasonal transitions.The system is server-authoritative, making it safe for both host-based and dedicated server setups. All world generation, chunk streaming and decoration logic runs on the server, while clients only render received data.TerraFlux 2D is intended as a framework, not a complete game. It focuses on clean architecture, performance and safe integration into existing projects.### Key Features- Deterministic procedural world generation (same seed = same world)- Chunk-based world streaming (server-side generation, client-side rendering)- Biome system based on height, temperature and moisture- Persistent world decorations (destroyed objects do not respawn)- Regenerating ground details for visual variety- Fully synchronized season system with smooth transitions- Automatic world saving using JSON files- Multiplayer-ready architecture built on Mirror- Safe for host or dedicated server setups### Use Cases- Survival games- Farming and life-sim games- Sandbox and exploration games- Multiplayer 2D worlds- Procedural top-down RPGs### Included- Complete procedural world framework- Multiplayer-safe chunk streaming system- Season and decoration persistence systems- Demo scene showcasing all core features- Clean, documented and extensible codebase### Important Notes- Mirror Networking is required (not included)- This asset focuses on logic and systems, not UI styling- Designed as a foundation to be extended by your own gameplay systems### Technical Details- Engine: Unity- Render Pipeline: Built-in (2D)- Supported Unity Versions: 2021.3 LTS or newer- Scripting Runtime: .NET 4.x- Programming Language: C#- Networking: Mirror (required, not included)### Architecture- Server-authoritative procedural generation- Chunk-based world streaming- Deterministic generation using world seeds- Client-side rendering only- Modular and extensible system design### World Generation- Infinite 2D world generation- Perlin Noise–based terrain- Biome classification based on: - Height - Temperature - Moisture- Chunk-based generation for performance and scalability### Multiplayer- Compatible with host-based and dedicated servers- Server controls: - World generation - Chunk streaming - Decoration spawning and destruction- Clients receive and render streamed chunk data### Persistence & Save System- JSON-based save files (human-readable)- Saved data includes: - World metadata - Destroyed decorations - World state (season)- Automatic periodic world saving### Seasons & Visual Systems- Four synchronized seasons (Spring, Summer, Autumn, Winter)- Smooth procedural season transitions- Seasonal tile and decoration changes- Global season event system for easy extensions### Performance- Distance-based chunk loading- Incremental chunk streaming- Decoration generation limited per chunk- Designed to scale to large worlds### Included Content- Fully documented C# scripts- ScriptableObject-based biome configuration- Demo scene showcasing all systems- Ready-to-use main menu for world management### Limitations- Tile-based terrain only (no heightmaps)- No NPC, enemy or combat systems included- Weather system hooks prepared but not fully implemented- No built-in UI styling (logic-focused)



