michaelchi08 / 100-Unity-Mechanics-for-Programmers

Building Unity mechanics structured as a set of challenges. 100 sample programs where each program demonstrates a different mechanic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

100 Unity Mechanics for Programmers

Building Unity mechanics structured as a set of challenges. 100 sample programs where each program demonstrates a different mechanic. Visit the website for WebGL builds here

List of Mechanics

  1. WASD Keys for Movement in 2D
  2. Space Bar to Jump
  3. WASD Keys to adjust speed and direction (with and without friction)
  4. Space Bar to Double Jump
  5. Space Bar to Shoot in 2D
  6. Mouse Wheel to Zoom Camera
  7. Frictional Forces in 2D
  8. Minimap
  9. Drag and Drop UI
  10. Drag and Drop to Corners
  11. Load Next Level
  12. Background Music
  13. Camera Shake
  14. Bounce Object Off Wall in 2D
  15. Loading Bar and Screen
  16. Smooth Camera Follow
  17. Health Bar
  18. Drag and Drop to Nearest Corner
  19. Rotate Object to Cursor in 2D
  20. Raycast/Hitscan Shooting in 2D
  21. Change Cursor
  22. Enemy Follow Player in 2D
  23. Basic Navmesh in 3D
  24. Move Camera in 2D
  25. Volume Control and Mute Music
  26. Teleport Between Locations in 2D
  27. NPC Patrol Between Waypoints in 2D
  28. Write Out Text Effect
  29. Pause Game
  30. Grappling Hook 2D
  31. Parallax Background Scrolling in 2D
  32. First Person Movement 3D
  33. Reset Scene
  34. Scene Transitions and Screen Tint
  35. Change Player Speed
  36. Text Follow Player & Hide/Show UI
  37. Spawn Object in Random Location and Destroy on Time Interval
  38. Game Over Screen with Restart Button
  39. Lose when HP reaches 0
  40. Quit Application on Key Press
  41. Main Menu
  42. Change scene on key press
  43. Ability cooldown
  44. Show/hide map/popup on key press
  45. Sound effects (one time ex. shooting)
  46. Switch weapons
  47. Text Tutorial with Key to Skip
  48. Change fire rate
  49. Pick Up Object When Character Walks Over in 2D
  50. Use Items On Key Press
  51. Upgrade Shop
  52. Buy Upgrade with money
  53. Infront Draggable UI Element
  54. Show Text UI on Mouse Hover
  55. Number Keypad
  56. Rebindable Keys
  57. Varying sound effects (change tone/pitch)
  58. Outline/highlight object on mouse hover
  59. Bomb that Destroys Enemies in Radius
  60. Arrow Buttons to Make a Choice
  61. Escape Room Alphabet Lock
  62. Snake
  63. Timer
  64. Utility Wheel
  65. Auto Clicker/Cookie Clicker
  66. 2D Flashlight
  67. Movement slowing obstacles
  68. Random Selection
  69. Command/Chat Bar
  70. Buoyancy
  71. Wind Force
  72. Attract and Repel
  73. Platforms
  74. Pick Up Object When Character Walks Over in 3D
  75. Rewind
  76. Line Drawing
  77. Cell Phone
  78. Draw Objects
  79. Tilemaps
  80. Super Mario Style Jump
  81. FPS Aim Assist
  82. Summon Ally
  83. Energy Shield
  84. QTE
  85. Checkpoint System
  86. Charge Up Blaster
  87. Open Chest
  88. Player Turns
  89. Dice Roller
  90. 3D Flashlight
  91. First Person & Third Person POV
  92. Wheel Spinner
  93. Missions
  94. Camera Panning
  95. Sleep to Skip Time
  96. Map Waypoints
  97. Drop Items When Killed
  98. Hunger Meter
  99. Gravity Changer
  100. Manipulate Object Size

About

Building Unity mechanics structured as a set of challenges. 100 sample programs where each program demonstrates a different mechanic.


Languages

Language:C# 53.2%Language:ShaderLab 41.0%Language:HLSL 5.8%Language:Shell 0.0%