https://github.com/kgotso-koete/2d-platformer-unity
2d unity platformer game
https://github.com/kgotso-koete/2d-platformer-unity
game-development unity
Last synced: 2 months ago
JSON representation
2d unity platformer game
- Host: GitHub
- URL: https://github.com/kgotso-koete/2d-platformer-unity
- Owner: Kgotso-Koete
- Created: 2022-10-05T18:16:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T20:45:53.000Z (over 3 years ago)
- Last Synced: 2025-05-19T02:52:16.289Z (about 1 year ago)
- Topics: game-development, unity
- Language: C#
- Homepage: https://simmer.io/@Kgotso_Koete/unity-2d-platformer
- Size: 32.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About the project
### Description of the project
This is a 2d unity platformer game built while following [James Doyle](https://www.udemy.com/user/james-doyle-4/) [tutorial](https://www.udemy.com/course/unityplatformer/). The game is a side scrolling single player platformer with 3 levels, 1 boss, environmental hazards and 2 enemy types (excluding the boss).
---
### Click here for the [video demo](https://youtu.be/Ial1l3Vx2BA)
1. Play it on [Simmer IO](https://get.simmer.io/) by using this [link](https://simmer.io/@Kgotso_Koete/unity-2d-platformer)
2. Play it on Windows by downloading the [Windows build folder](https://drive.google.com/drive/folders/19BZzIbHWP9lH41SGlIyEcM3PQzxlGwic?usp=share_link) and clicking on the .exe file
---
# Screen shot of the application
| Start Screen | Game Screen |
| :----------------------------------: | :---------------------------------: |
|  |  |
| Level Select | Pause Screen |
| :----------------------------------: | :---------------------------------: |
|  |  |
---
### Technology stack
1. Unity Hub 3.4.1
2. Unity 2019.3.0f6 Editor Personal license version
---
### Install the project dependencies on Linux or Windows:
1. Install Unity Hub 3.4.1 from the [Unity Hub page](https://unity.com/unity-hub)
2. Install Unity Editor 2019.3.0f6 from the Unity [LTS releases page](https://unity.com/releases/editor/qa/lts-releases)
### 3: Run project locally
1. Open Unity Hub 3.4.1 and ensure that Unity Editor 2019.3.0f6 is installed
2. Clone this repository or download it (and unzip the folder)
3. Open Unity Hub 3.4.1, navigate to the projects item in the main menu and then open project at the root of the folder downloaded from Github. Unity Hub will then open the project in Unity
4. Press the play button on Unity and play the game in the Game tab.
### Build project executable
Follow the instructions below to build an executable file
1. Build for Windows: Open Unity 2019.3.0f6, select file -> build settings, select platform, build and run
2. Build for the Web: After building the WebGL index.html file, upload the build folder to [Simmer IO](https://get.simmer.io/)
---
### Acknowledgements
Special thanks to [James Doyle](https://www.udemy.com/user/james-doyle-4/) for a great [tutorial](https://www.udemy.com/course/unityplatformer/). One of the hardest things when learning to create software in a new system is composing components together. This course is a great start at cracking this problem because James teaches us how to create player characters, enemies, levels, environmental hazards, a level select screen, a boss fight, a pause screen, and more.
Most importantly, James shows students how to compose these elements to create a complete game with reusable components like level templates (prefabs) all in about 15 hours. The course was a little long (ideal would be 5 - 10 hours) but was full of useful segments that were short so students can fix problems/debug quickly.
What would have pushed the course from a 4.5 to a 5 out of 5 stars is if there was a segment on character animations and projectiles that damage enemies or buff stats like invulnerability etc. I highly recommend the course.
Level Tiles, level props, level mechanics, backgrounds, Enemies, Collectibles & Player sprites courtesy of [Ansimuz SuunyLands graphics pack](https://ansimuz.itch.io/sunny-land-pixel-game-art)
---
### License
The codebase is MIT licensed unless otherwise specified. Feel free to fork or download this code and use as specified in the license.
#
To be modified further by Kgotso Koete
December 2022