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

https://github.com/SebLague/Create-a-Game-Source

Source code from my Create a Game tutorial series.
https://github.com/SebLague/Create-a-Game-Source

Last synced: about 1 year ago
JSON representation

Source code from my Create a Game tutorial series.

Awesome Lists containing this project

README

          

# Create-a-Game-Source
Source code for the Create a Game tutorial series found here: [Watch Series](https://youtu.be/SviIeTt2_Lc?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0)

Post tutorial series fixes:
- Problem: Sfx volume incorrect after choosing to play again
- Solution: Add this method to the AudioManager class:
```
void OnLevelWasLoaded(int index) {
if (playerT == null) {
if (FindObjectOfType () != null) {
playerT = FindObjectOfType ().transform;
}
}
}
```
- Problem: Player being awarded score multiple times for single enemy death:
- Solution: In TakeHit method of Enemy class, replace "if (damage >= health) {" with "if (damage >= health && !dead) {"