Skip to content

Repository for Keezhan and I to create a game in Unity together for the U of M mentorship program.

Notifications You must be signed in to change notification settings

garrett-livefront/UnityGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityGame

Repository for Keezhan and me to create a game in Unity together for the U of M mentorship program.


Project Info

  • Unity Version: Unity 6.0 (6000.0.62f1)
  • Recommended IDE: JetBrains Rider or Visual Studio

Assets & Animation Sources

  • Free game assets: Itch.io Free Assets
    (I’ll find a good place to upload the ones I downloaded/am using.)
  • Character animations: Mixamo

Getting Started

  1. Open the scene: SimpleThirdPersonScene
  2. Press Play in Unity

Controls

  • W — Walk forward
  • A and D — Turn left / right

Character Controller Notes

While the game is running:

  1. Click the Character object in the Hierarchy
  2. In the Inspector, view the CharacterController (Script) component
  3. Feel free to tweak exposed values to see how movement changes

You can also check out:

  • CharacterController.cs — implementation of movement, animation, and sound
    (It’s a bit messy right now since I was prototyping quickly, but I added lots of comments to explain what’s happening.)

Movement is fully physics-based, using forces applied to the character.


How to Commit (Best Practices)

  1. Create a new branch:
    git branch gs/character-running
  2. Check out the branch:
    git checkout gs/character-running
  3. Make your changes.
  4. Stage your changes and commit them.
  5. Push the commit and branch:
    git push --set-upstream origin gs/character-running
  6. Open a PR from that branch into main.
  7. Required approvals are currently set to 0. This isn’t meant to block work—just an industry standard habit to get used to.
  8. Wait for feedback or merge the PR into main.
  9. If you need to update a PR:
    • Make changes on the same branch
    • Stage and commit again
  10. Push the branch again with the new commit.
  11. The PR should now show an additional commit.
  12. When merging into main, squash commits.
    (The repo should be set to only allow squash merges—let me know if that isn’t working.)

Next Steps

  • Add a running feature to the character controller.
  • Add a jump feature to the character controller.
  • Move input to Unity’s Input System instead of checking raw key presses.
    (This will help with adding controller support.)
  • Try out a side-scrolling (still 3D) fighting-game-style scene with a new/different character controller.
  • Brainstorm gameplay features, win conditions, etc.
  • For a full game we’ll also need:
    • Menus (main menu, pause menu, win screen)
    • UI / HUD elements
      (This stuff is usually low-hanging fruit.)

About

Repository for Keezhan and I to create a game in Unity together for the U of M mentorship program.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages