🎮 Play Save The Princess on Unity Play
Save The Princess is a 2D action platformer built in Unity. Battle enemies, overcome obstacles, and rescue the princess! The game features smooth movement, responsive controls, and dynamic enemy respawning for a challenging experience.
![]() |
![]() |
|---|---|
![]() |
![]() |
- Player Movement & Jumping: Responsive controls for running and jumping.
- Combat System: Attack enemies using mouse or keyboard.
- Enemy Logic: Enemies detect and attack the player, with respawn logic and dynamic difficulty.
- Princess Character: The princess reacts to the player and triggers game over on defeat.
- Damage Feedback: Visual feedback when entities take damage.
- UI: Real-time timer, kill count, and game over screen.
- Level Restart: Instantly restart the level from the UI.
Assets/
Animations/ # Animation controllers and assets
InputSystems/ # Input action assets
Material/ # Materials for feedback and physics
Prefab/ # Prefabs for enemies and other entities
Scenes/ # Unity scenes
Scripts/ # C# scripts for gameplay logic
Settings/ # Rendering and volume profiles
Sprites/ # Game graphics
TextMesh Pro/ # Text assets
Packages/ # Unity package manifest
ProjectSettings/ # Unity project settings
- Move: Arrow keys / A & D
- Jump: Spacebar
- Attack: Left Mouse Button or 'V'
- Restart Level: Click 'Restart' on Game Over UI
Player.cs: Handles player movement, jumping, and attacking.Enemy.cs: Enemy AI, movement, and attack logic.Entity.cs: Base class for all entities (player, enemy, princess).Enemy_Respawner.cs: Spawns enemies at random points with decreasing cooldown.Princess.cs: Princess behavior and game over trigger.UI.cs: Manages UI elements, timer, kill count, and game over screen.EntityAnimationEvents.cs: Animation event hooks for attacks and movement.
- Sprites: Custom graphics for player, enemies, backgrounds, and UI.
- Materials: Visual feedback for damage and physics interactions.
- Animations: Smooth transitions for movement and attacks.
- Clone the repository
git clone https://github.com/BKarthik7/SaveThePrincess.git
- Open in Unity
- Use Unity Hub to open the project folder.
- Recommended Unity version: 2022.3 LTS or later.
- Play the Game
- Open
SampleScene.unityin theScenesfolder. - Click Play!
- Open
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.



