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
- ๐ Unity Documentation
- ๐ผ Game Dev Beginner
- ๐ผ Unity 4 2D Essential Training