How itsamecycy/pirate_adventure works
Pirate Adventure is a Pygame 2D adventure: the player enters through the menu, creates or loads a character, sees an intro, explores the overworld, and can enter battles or the boss area. Pause and game-over screens provide routes back through the game. The graph highlights combat, character/enemy entities, inventory, and save/settings support. Evidence is partial: scene routing and several internal relationships are visible in excerpts; other README capabilities are represented only where repository paths support them, without assuming unobserved call wiring.
Main entry points: main.py Game Loop · overworld.py Overworld · pause.py Pause Menu · assets Game Assets
Components 23
Game Runtime
- Game Loop
Pirate_Adventure/main.py - Loading Screen
Pirate_Adventure/scenes/loading.py - Intro Scene
Pirate_Adventure/scenes/intro.py - Game Assets
Pirate_Adventure/assets
World And Encounters
- Overworld
Pirate_Adventure/maps/overworld.py - Boss Area
Pirate_Adventure/maps/bossArea.py - Battle Scene
Pirate_Adventure/scenes/battle.py - Player Entity
Pirate_Adventure/entities/player1.py - Demon Enemy
Pirate_Adventure/entities/enemy_demon.py - Boss Entity
Pirate_Adventure/entities/boss.py - Quartermaster
Pirate_Adventure/entities/quartermaster.py
Gameplay Systems
- Combat System
Pirate_Adventure/systems/combatsys.py - Inventory System
Pirate_Adventure/systems/inventorysys.py - Save Data
Pirate_Adventure/systems/savedata.py - Save State
Pirate_Adventure/save_data.json - Settings System
Pirate_Adventure/systems/settingsys.py
Menus And Persistence
- Main Menu
Pirate_Adventure/scenes/mainmenu.py - Character Creation
Pirate_Adventure/scenes/charcreation.py - Pause Menu
Pirate_Adventure/scenes/pause.py - Settings Screen
Pirate_Adventure/scenes/settings.py - Load Game
Pirate_Adventure/scenes/loadgame.py - Game Over
Pirate_Adventure/scenes/gameover.py
Other components
- Player
Connections 30
- Player → Main Menu: starts at
- Game Loop → Main Menu: creates
- Game Loop → Character Creation: routes to
- Game Loop → Load Game: routes to
- Game Loop → Settings Screen: routes to
- Game Loop → Loading Screen: starts loading
- Game Loop → Pause Menu: opens pause
- Game Loop → Game Over: opens game over
- Game Loop → Intro Scene: creates next
- Game Loop → Overworld: creates next
- Character Creation → Loading Screen: starts game
- Loading Screen → Intro Scene: advances to
- Intro Scene → Overworld: advances to
- Overworld → Player Entity: creates
- Overworld → Quartermaster: uses
- Overworld → Boss Area: enters
- Overworld → Battle Scene: starts encounter
- Boss Area → Boss Entity: creates
- Battle Scene → Combat System: uses
- Player Entity → Inventory System: creates
- Pause Menu → Save Data: uses
- Pause Menu → Settings System: uses
- Pause Menu → Overworld: recreates
- Settings Screen → Settings System: uses
- Load Game → Save Data: loads via
- Save Data → Save State: reads and writes
- Player Entity → Game Assets: loads sprites
- Demon Enemy → Game Assets: loads sprites
- Boss Entity → Game Assets: loads sprites
- Overworld → Game Assets: loads map art