How markkyrollos/new_game works
NEW_GAME (GOTY) is a Qt-based 2D top-down dungeon crawler. The documented flow is launch into a tile-map arena, control a player to traverse it and fight enemies, then face a final boss; combat includes shooting, hazards, collectibles, and timed doors. The sampled entry point reads Board.txt, constructs game entities, and places map tiles and characters in a graphics scene. README-listed gameplay subsystems whose implementation wiring was not sampled are represented conservatively; no unsupported interactions are inferred.
Main entry points: main.cpp Game entry · enemy.cpp Enemy behavior · player.cpp Player logic · minor.cpp Minor enemy
Components 19
Game setup
- Game entry
GOTY(18-4-22)/main.cpp
Dungeon world
- Board.txt
- Tile map
GOTY(18-4-22)/main.cpp - Shared entities
GOTY(18-4-22)/entity.cpp - Coin pickup
GOTY(18-4-22)/coin.cpp - Timed doors
GOTY(18-4-22)/doortimer.cpp
Combat and AI
- Character base
GOTY(18-4-22)/character.cpp - Player logic
GOTY(18-4-22)/player.cpp - Enemy behavior
GOTY(18-4-22)/enemy.cpp - Minor enemy
GOTY(18-4-22)/minor.cpp - Major enemy
GOTY(18-4-22)/major.cpp - Final boss
GOTY(18-4-22)/boss.cpp - A* pathfinding
GOTY(18-4-22)/a_star.cpp - Projectiles
GOTY(18-4-22)/projectile.cpp
Interface and media
- Graphics scene
GOTY(18-4-22)/main.cpp - Main menu
GOTY(18-4-22)/main_menu.cpp - Game window
GOTY(18-4-22)/mainwindow.cpp - Music and SFX
GOTY(18-4-22)
Other components
- Player
Connections 15
- Player → Player logic: controls
- Game entry → Board.txt: reads map
- Game entry → Tile map: initializes
- Game entry → Player logic: creates
- Game entry → Minor enemy: creates
- Game entry → Major enemy: creates
- Game entry → Final boss: creates
- Game entry → Graphics scene: adds tiles and actors
- Minor enemy → Enemy behavior: inherits
- Major enemy → Enemy behavior: inherits
- Final boss → Enemy behavior: inherits
- Enemy behavior → A* pathfinding: uses paths
- Player logic → Projectiles: fires
- Game entry → Main menu: launch flow
- Main menu → Game window: starts game