Brett's Basic Scripts
A downloadable asset pack
I created this pack of basic scripts as part of a learning resource for a class I teach. These scripts are designed to fit a variety of uses and implementations and serve as a starting point for making a game in Unity.
These scripts are designed to work with Unity 2020, but have also been tested in Unity 2018. The example project is made with the 2020 version of Unity, so that version is the most compatable.
The asset pack contains 3 file types ...
- The RAW source code with a healthy dose of comments.
- A Unity package for the user on the go.
- An example project with 3 basic games.
The platformer example project may handle jumping differently from version to version. You may need to change the amount of jump force in your version of Unity.
In fact, if you have pixel-perfect timing, you can double jump, even with a jump setting that requires ground, due to the fact that "ground" detection just checks if the player object's Y velocity is close to 0.
You can also access the code through my GitHub repository following the link below ...
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.