This is a sample 2D Platformer Game unity project for learning and prototyping purposes.
It features some basic 2D game stuff for unity.
-
🚀 Movement:
- 🏃 Platformer Movement using Physics 2D:
- Horizontal Movement.
- Vertical Movement (Jump).
- 🎞️ Movement Animations using Animator Parameters.
- 🎞️ Movement-Dust-Effects Animations by Instantiating Objects and using Animator States Names.
- 🏃 Platformer Movement using Physics 2D:
-
🔌 Mechanism:
- 🚪 Switches and Doors Mechanism:
- Switch for Multiple Doors.
- Door for Multiple Switches.
- Switch and Door Animations by Animating Transform Properties.
- 🚪 Switches and Doors Mechanism:
-
🤺 Combat:
- 💥 Explosion Effect using Physics 2D.
- 🎞️ Damage Animations.
- 🏹 Projectile Throwing by Instantiating Objects and using Animator Parameters.
-
🤖 Artificial Intelligence (AI):
- 🏃 Automated Platformer Movement:
- Automated Horizontal Movement.
- 👁️ Detections using Physics 2D LineCast:
- Wall Detection for Turning Round.
- Floor Detection for Gap Avoidance.
- Player Detection for Chase.
- 🏹 Automated Projectile Throwing.
- 🏃 Automated Platformer Movement:
-
🏕️ Environment:
- 🗺️ Map:
- Tile-Mapping by Nesting Objects (Classic).
- Tile-Mapping using TileMap Components.
- 🎥 Camera:
- Player-Follower Camera.
- Smooth Camera Movement using Linear interpolation (Lerp).
- Pixel Perfect Camera using Pixel Perfect Camera Component.
- Pixel Perfect Camera using Pixel Perfect Camera Component of Universal Render Pipeline (URP).
- 💡 Light:
- Lighting using Light Components (3D).
- Lighting using Light 2D Components of Universal Render Pipeline (URP).
- 📣 Audio using Audio Source Component:
- Background Music (BGM) with volume, pitch, and looping features using Audio Source Play.
- Sound Effects (SFX) with volume, pitch, and overlapping features using Audio Source Play One Shot.
- Distance-Relative Audio using 3D Sound Settings of Audio Source Component.
- 🗺️ Map:
-
🔲 User Interface (UI):
- 💯 Head-Up Display (HUD):
- Health Bar.
- Score Counter.
- 🖼️ Title Menu:
- 🚧 ...
- 🚧 ...
- 🚧 ...
- ⚙️ Settings Menu :
- 🚧 ...
- 🚧 ...
- 🚧 ...
- 💯 Head-Up Display (HUD):
- Runtime: Windows 10
- Game Engine: Unity 2022
- Scripts Language: C# 9.0
- Scripts Editor: Visual Studio 2022