PythonGame DevPhysics EngineAI
Tower Climber is a fast-paced 2D platformer where players control a treasure hunter scaling a perilous tower while evading ghostly enemies. The goal: reach the top before the ghosts catch up or gravity drags you down.
Gameplay Mechanics
- Movement & Physics: Players jump between walls using the arrow keys, navigating an environment governed by real-time gravity, friction, and collision forces.
- Wall Types:
- Normal walls allow light sliding.
- Icy walls cause players to slip, increasing movement challenge.
- Sticky walls halt vertical motion, letting players pause and plan.
- Enemies: Ghosts actively pursue the player when within a certain radius. Contact results in damage and temporary invincibility.
- Damage System: Players can take up to 3 hits before losing, represented by a custom health bar.
- Victory Condition: Reach the treasure at the tower's peak while outpacing both enemies and gravity.
Technical Features
- Custom Physics Engine: Implemented gravity, jump arcs, sliding friction, and force-based interactions.
- Collision Detection: Managed interactions between player, enemies, obstacles, and level terrain.
- Enemy AI: Ghosts track player movement with proximity-based behavior and destructive collision logic.
- Power-Ups: Collectible items grant advantages like invincibility or speed boosts.
- UI & Game Flow: Menu screens, HUD elements, and vertical camera scrolling for dynamic level progression.
Design and Implementation
- Sprites & Polygons: Custom sprites for characters and enemies; polygons used to build varied level geometry.
- Input Handling: Smooth keyboard controls enabling mid-air direction changes and responsive jump physics.
- Audio & Polish: Sound effects for collisions and movement, background music based on game scenes, and in-game story cues for immersive experience.
Code
← Back to Portfolio