How cytopiateam/cytopia works
Cytopia is a pixel-art city-building game with a custom SDL2-based isometric renderer and a mod-focused design. The documented player workflow is interacting through the custom UI, using camera controls and terrain tools, and viewing the city through the renderer. Procedural terrain generation, audio, and a separate Qt tile editor are additional capabilities. The supplied tree exposes no game implementation files beyond src/, so subsystem paths and connections below reflect README-level documentation, not inspected runtime calls.
Main entry points: src Game runtime
Components 12
Game runtime
- Game runtime
src
World tools
- Terrain tools
src - Terrain generation
src
Presentation
- Custom UI
src - Camera controls
src - Isometric renderer
src - Game audio
src
Content authoring
- Qt tile editor
src - TileData JSON
Other components
- Player
- SDL2
- Audio output
Connections 11
- Player → Custom UI: interacts
- Custom UI → Game runtime: controls
- Player → Camera controls: operates
- Camera controls → Isometric renderer: updates view
- Game runtime → Isometric renderer: renders city
- Isometric renderer → SDL2: uses
- Player → Terrain tools: manipulates
- Terrain generation → Game runtime: generates terrain
- Qt tile editor → TileData JSON: edits
- Game runtime → Game audio: plays
- Game audio → Audio output: outputs