How phonealmonda/katierustfly works
KatieFlySimRust is a Macroquad space-flight simulator: players choose a game mode and map, fly vehicles through gravity-driven worlds, manage satellite and fuel systems, and view HUD/trajectory information. The runtime is organized around game modes and shared world/simulation services, with save/load and online multiplayer as supporting branches. KatieMapMaker is a separate map-authoring application in the same tree. The excerpts show the main entry and selected systems; menu, save, and several game-mode internals are represented from the file tree, so uncertain call wiring is omitted.
Main entry points: main.rs Mode Router · world.rs World Systems · single_player.rs Single Player · multiplayer_client.rs Online Client Mode
Components 25
Game Runtime
- Mode Router
KatieFlySimRust/src/main.rs - Game Modes
KatieFlySimRust/src/game_modes/mod.rs - Single Player
KatieFlySimRust/src/game_modes/single_player.rs - Split Screen
KatieFlySimRust/src/game_modes/split_screen.rs - Online Client Mode
KatieFlySimRust/src/game_modes/multiplayer_client.rs - Online Host Mode
KatieFlySimRust/src/game_modes/multiplayer_host.rs - Game State
KatieFlySimRust/src/game_state.rs
World Simulation
- World Systems
KatieFlySimRust/src/systems/world.rs - Vehicle Manager
KatieFlySimRust/src/systems/vehicle_manager.rs - Satellite Manager
KatieFlySimRust/src/systems/satellite_manager.rs - Fuel Transfers
KatieFlySimRust/src/systems/fuel_transfer_network.rs - Orbit Maintenance
KatieFlySimRust/src/systems/orbit_maintenance.rs - Space Entities
KatieFlySimRust/src/entities/mod.rs - Gravity Simulation
KatieFlySimRust/src/physics/gravity_simulator.rs - Trajectory Prediction
KatieFlySimRust/src/physics/trajectory.rs
Player Interface
- Menus
KatieFlySimRust/src/menus/mod.rs - HUD Manager
KatieFlySimRust/src/ui/ui_manager.rs
Maps And Saves
- Map Configuration
KatieFlySimRust/src/map_config/mod.rs - Save System
KatieFlySimRust/src/save_system/mod.rs - Map Maker
KatieMapMaker/src/main.rs - Map Data
KatieMapMaker/src/map_data.rs
Multiplayer
- Network Manager
KatieFlySimRust/src/networking/network_manager.rs - Network Client
KatieFlySimRust/src/networking/multiplayer_client.rs - Network Host
KatieFlySimRust/src/networking/multiplayer_host.rs
Other components
- Player
Connections 32
- Player → Mode Router: selects mode
- Mode Router → Menus: routes menu state
- Mode Router → Single Player: starts game
- Mode Router → Split Screen: starts game
- Mode Router → Online Client Mode: starts client
- Mode Router → Online Host Mode: starts host
- Mode Router → Game State: updates state
- Single Player → World Systems: updates world
- Split Screen → World Systems: updates world
- Online Client Mode → World Systems: updates world
- Online Host Mode → World Systems: updates world
- World Systems → Space Entities: manages entities
- World Systems → Gravity Simulation: simulates gravity
- World Systems → Vehicle Manager: manages vehicles
- World Systems → Satellite Manager: manages satellites
- Satellite Manager → Fuel Transfers: coordinates transfers
- Satellite Manager → Orbit Maintenance: maintains orbits
- Vehicle Manager → Trajectory Prediction: requests predictions
- Trajectory Prediction → Gravity Simulation: calculates forces
- Single Player → Map Configuration: loads map
- Mode Router → Save System: loads or saves
- Menus → Save System: selects saves
- Menus → Map Configuration: selects map
- Map Maker → Map Data: edits map data
- Single Player → HUD Manager: renders interface
- Split Screen → HUD Manager: renders interface
- Online Client Mode → Network Manager: exchanges messages
- Online Host Mode → Network Manager: exchanges messages
- Online Client Mode → Network Client: uses client protocol
- Online Host Mode → Network Host: uses host protocol
- Network Client → Network Manager: sends and receives
- Network Host → Network Manager: sends and receives