Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/practical-works/unity2d-prototype

ðŸŽŪ Sample 2D Platformer Game Unity Project.
https://github.com/practical-works/unity2d-prototype

2d-devl 2d-game 2d-game-development 2d-platformer-game game unity unity2d

Last synced: about 2 months ago
JSON representation

ðŸŽŪ Sample 2D Platformer Game Unity Project.

Awesome Lists containing this project

README

        

# ðŸŽŪ Prototype

[![Unity](https://img.shields.io/badge/Unity-2022.1.10f1-blue?logo=unity)](https://github.com/topics/unity)
[![C#](https://img.shields.io/badge/C%23-9.0-blue?logo=c-sharp)](https://github.com/topics/csharp)

This is a sample **2D Platformer Game** unity project for learning and prototyping purposes.

It features some basic 2D game stuff for unity.

![Screenshot0](./Screenshot0.gif)
![Screenshot1](./Screenshot1.gif)
![Screenshot2](./Screenshot2.gif)

## ðŸŽŊ Objectives

- [x] **🚀 Movement:**
- [x] **🏃 Platformer Movement _using [Physics 2D](https://docs.unity3d.com/Manual/Physics2DReference.html)_:**
- [x] Horizontal Movement.
- [x] Vertical Movement (Jump).
- [x] **🎞ïļ Movement Animations _using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) Parameters_.**
- [x] **🎞ïļ Movement-Dust-Effects Animations _by [Instantiating Objects](https://docs.unity3d.com/ScriptReference/Object.Instantiate.html) and using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) States Names_.**

- [x] 🔌 **Mechanism:**
- 🚊 **Switches and Doors Mechanism:**
- [x] Switch for Multiple Doors.
- [x] Door for Multiple Switches.
- [x] Switch and Door Animations _by [Animating Transform Properties](https://docs.unity3d.com/Manual/animeditor-AnimatingAGameObject.html)_.

- [x] ðŸĪš **Combat:**
- [x] **ðŸ’Ĩ Explosion Effect _using [Physics 2D](https://docs.unity3d.com/Manual/Physics2DReference.html)_.**
- [x] **🎞ïļ Damage Animations.**
- [x] **ðŸđ Projectile Throwing _by [Instantiating Objects](https://docs.unity3d.com/ScriptReference/Object.Instantiate.html)_ and _using [Animator](https://docs.unity3d.com/Manual/AnimatorWindow.html) Parameters_.**

- [x] **ðŸĪ– Artificial Intelligence (AI):**
- **🏃 Automated Platformer Movement:**
- [x] Automated Horizontal Movement.
- [x] **👁ïļ Detections using _[Physics 2D LineCast](https://docs.unity3d.com/ScriptReference/Physics2D.Linecast.html)_:**
- [x] Wall Detection for Turning Round.
- [x] Floor Detection for Gap Avoidance.
- [x] Player Detection for Chase.
- [x] **ðŸđ Automated Projectile Throwing.**

- [x] **🏕ïļ Environment:**
- [x] **🗚ïļ Map:**
- [x] Tile-Mapping _by [Nesting Objects](https://docs.unity3d.com/Manual/Hierarchy.html) (Classic)_.
- [x] Tile-Mapping _using [TileMap Components](https://docs.unity3d.com/Manual/class-Tilemap.html)_.
- [x] **ðŸŽĨ Camera:**
- [x] Player-Follower Camera.
- [x] Smooth Camera Movement _using [Linear interpolation (Lerp)](https://en.wikipedia.org/wiki/Linear_interpolation)_.
- [x] Pixel Perfect Camera _using [Pixel Perfect Camera Component](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)_.
- [x] Pixel Perfect Camera _using [Pixel Perfect Camera Component](https://docs.unity3d.com/Packages/[email protected]/manual/2d-pixelperfect.html) of [Universal Render Pipeline (URP)](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)_.
- [x] **ðŸ’Ą Light:**
- [x] Lighting _using [Light Components](https://docs.unity3d.com/Manual/Lights.html) (3D)_.
- [x] Lighting _using [Light 2D Components](https://docs.unity3d.com/Packages/[email protected]/manual/Lights-2D-intro.html) of [Universal Render Pipeline (URP)](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)_.
- [x] **ðŸ“Ģ Audio _using [Audio Source Component](https://docs.unity3d.com/Manual/class-AudioSource.html)_:**
- [x] Background Music (BGM) with volume, pitch, and **looping** features _using [Audio Source Play](https://docs.unity3d.com/ScriptReference/AudioSource.Play.html)_.
- [x] Sound Effects (SFX) with volume, pitch, and **overlapping** features _using [Audio Source Play One Shot](https://docs.unity3d.com/ScriptReference/AudioSource.PlayOneShot.html)_.
- [x] Distance-Relative Audio _using 3D Sound Settings of [Audio Source Component](https://docs.unity3d.com/Manual/class-AudioSource.html)_.

- [ ] **ðŸ”ē User Interface (UI):**
- [ ] **ðŸ’Ŋ Head-Up Display (HUD):**
- [ ] Health Bar.
- [ ] Score Counter.
- [ ] **🖞ïļ Title Menu:**
- [ ] 🚧 ...
- [ ] 🚧 ...
- [ ] 🚧 ...
- [ ] **⚙ïļ Settings Menu :**
- [ ] 🚧 ...
- [ ] 🚧 ...
- [ ] 🚧 ...

## 🏭 Environment

- Runtime: **[Windows](https://www.microsoft.com/en-us/windows) 10**
- Game Engine: **[Unity](https://unity.com) 2022**
- Scripts Language: **[C#](https://github.com/dotnet/csharplang) 9.0**
- Scripts Editor: **[Visual Studio](https://visualstudio.microsoft.com) 2022**

## 📚 Learning Resources

- 📕 [Unity Documentation](https://docs.unity.com)
- 📞 [Game Dev Beginner](https://www.youtube.com/@GameDevBeginner/videos)
- 📞 [Unity 4 2D Essential Training](https://www.linkedin.com/learning/unity-4-2d-essential-training)

## 📄 License
[MIT](./LICENSE)