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
- WASD Keys for Movement in 2D
- Space Bar to Jump
- WASD Keys to adjust speed and direction (with and without friction)
- Space Bar to Double Jump
- Space Bar to Shoot in 2D
- Mouse Wheel to Zoom Camera
- Frictional Forces in 2D
- Minimap
- Drag and Drop UI
- Drag and Drop to Corners
- Load Next Level
- Background Music
- Camera Shake
- Bounce Object Off Wall in 2D
- Loading Bar and Screen
- Smooth Camera Follow
- Health Bar
- Drag and Drop to Nearest Corner
- Rotate Object to Cursor in 2D
- Raycast/Hitscan Shooting in 2D
- Change Cursor
- Enemy Follow Player in 2D
- Basic Navmesh in 3D
- Move Camera in 2D
- Volume Control and Mute Music
- Teleport Between Locations in 2D
- NPC Patrol Between Waypoints in 2D
- Write Out Text Effect
- Pause Game
- Grappling Hook 2D
- Parallax Background Scrolling in 2D
- First Person Movement 3D
- Reset Scene
- Scene Transitions and Screen Tint
- Change Player Speed
- Text Follow Player & Hide/Show UI
- Spawn Object in Random Location and Destroy on Time Interval
- Game Over Screen with Restart Button
- Lose when HP reaches 0
- Quit Application on Key Press
- Main Menu
- Change scene on key press
- Ability cooldown
- Show/hide map/popup on key press
- Sound effects (one time ex. shooting)
- Switch weapons
- Text Tutorial with Key to Skip
- Change fire rate
- Pick Up Object When Character Walks Over in 2D
- Use Items On Key Press
- Upgrade Shop
- Buy Upgrade with money
- Infront Draggable UI Element
- Show Text UI on Mouse Hover
- Number Keypad
- Rebindable Keys
- Varying sound effects (change tone/pitch)
- Outline/highlight object on mouse hover
- Bomb that Destroys Enemies in Radius
- Arrow Buttons to Make a Choice
- Escape Room Alphabet Lock
- Snake
- Timer
- Utility Wheel
- Auto Clicker/Cookie Clicker
- 2D Flashlight
- Movement slowing obstacles
- Random Selection
- Command/Chat Bar
- Buoyancy
- Wind Force
- Attract and Repel
- Platforms
- Pick Up Object When Character Walks Over in 3D
- Rewind
- Line Drawing
- Cell Phone
- Draw Objects
- Tilemaps
- Super Mario Style Jump
- FPS Aim Assist
- Summon Ally
- Energy Shield
- QTE
- Checkpoint System
- Charge Up Blaster
- Open Chest
- Player Turns
- Dice Roller
- 3D Flashlight
- First Person & Third Person POV
- Wheel Spinner
- Missions
- Camera Panning
- Sleep to Skip Time
- Map Waypoints
- Drop Items When Killed
- Hunger Meter
- Gravity Changer
- Manipulate Object Size