How alegonztor/finalproject works
Puchipu’s Adventure is a Pygame platformer. The principal workflow is launching through the menu, loading a text-defined level, playing through movement and hazards toward a flag, and reaching a win or loss outcome. Level construction, player physics, world entities, and sound are distinct runtime concerns. The graph reflects calls visible in excerpts and imports listed in the source index; some launcher and game-loop details are only partially sampled, so uncertain links are omitted.
Main entry points: map.py Map loader · obj.py Sprite base · character.py Player physics · game.py Game loop
Components 19
Launch and outcomes
- Start menu
menu.py - Game loop
game.py - Victory screen
game_completed.py
Level construction
- Level layouts
Levels - Map loader
map.py
Gameplay entities
- Player physics
character.py - Ground and platforms
ground.py - Platform geometry
platform.py - Jump walls
wall.py - Chasing enemies
enemy.py - Hazards
obstacle.py - Spike traps
spiketramp.py - Retractable spikes
retractable_spike.py - Arrow trampoline
arrowtramp.py - Decorations
decoration.py
Shared runtime
- Sound manager
sounds.py - Sprite base
obj.py - Game constants
constants.py
Other components
- Player
Connections 28
- Player → Start menu: chooses start
- Start menu → Game loop: starts game
- Game loop → Map loader: loads level
game.py - Map loader → Level layouts: reads layout
map.py - Game loop → Victory screen: shows victory
game.py - Map loader → Player physics: creates
map.py - Map loader → Ground and platforms: creates
map.py - Map loader → Platform geometry: creates
map.py - Map loader → Jump walls: creates
map.py - Map loader → Chasing enemies: creates
map.py - Map loader → Hazards: creates
map.py - Map loader → Spike traps: creates
map.py - Map loader → Retractable spikes: creates
map.py - Map loader → Arrow trampoline: creates
map.py - Map loader → Decorations: creates
map.py - Player physics → Sound manager: plays effects
character.py - Player physics → Sprite base: inherits
- Ground and platforms → Sprite base: inherits
ground.py - Platform geometry → Sprite base: inherits
platform.py - Jump walls → Sprite base: inherits
wall.py - Chasing enemies → Sprite base: inherits
enemy.py - Hazards → Sprite base: inherits
obstacle.py - Spike traps → Sprite base: inherits
spiketramp.py - Retractable spikes → Sprite base: inherits
retractable_spike.py - Arrow trampoline → Sprite base: inherits
arrowtramp.py - Decorations → Sprite base: inherits
decoration.py - Player physics → Game constants: uses dimensions
character.py - Map loader → Game constants: uses dimensions
map.py