I made this small demo of a game with Unity, using a large handful of free assets. "Foxy" is a working title. I think this character was meant to be a squirrel, actually.
Premise
Your forest home has been suddenly corrupted. The villagers have high-tailed it. The best you can do for now is find a way to escape.
How To Play
Use the arrow keys or WASD to move. Hold the down arrow or S to crouch. To climb ladders, use the up and down arrow keys. Use Space to jump.
Lessons Learned
Creating this game, small as it is, was a major undertaking. Several learning resources were invaluable, which I will be crediting. I think these may have been the most important lessons:
- Always use the latest LTS version of Unity to avoid so many bugs that have been fixed long ago.
- Try different audio file types if one type is giving you trouble.
- If you see jittery animation when using Mechanim, chances are that two animations are trying to play at once. Check the Animator window to confirm. Be sure all unwanted animation states are disabled and only what is wanted is enabled at the time an animation should be played.
- Sometimes, initializing class properties in Start or Awake is too early, when the property is for a component on another game object. Even if it loads just fine in the Unity Editor, the Unity Player may have a different result. It is more reliable to assign the resource to the object in the editor, or use FindObjectOfType when it is needed, or other solutions along those lines.
Learning Resources of Incalculable Value
- Brackeys
- Blackthornp
- Coding In Flow
- Bmo
- Might go without saying, but Unity
Builds are available for Windows and macOS. Possibly Linux in the future.
Credits
Game Design and Programming
Spencer Williams IV