Hi, my name is Marc and I am an enthusiastic Software Developer and Lecturer.
A lot of ⏱️ time and many years of iteration went into the preparation of this class material.
Please Leave a ⭐️ on this repository if you found this course helpful!
Feel free to open Issues for 💡 Feedback as well!
This material is available for free under the terms of Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). Check the LICENSE
file on this repository for details.
In this introduction course to Unity Game Development, we'll implement a clone of Impossible Game (Video)
All Baseline Milestones completed.
All Advanced Miletones completed.
Submit your project to Learnpoint by adding a link to your repository and/or a link to your game on Unity Play as well as uploading a Screenshot
Please follow the instructions on these Slides, but name your repository and Unity Project ImpossibleGame
Place a few cubes in the scene to build a ground on which our player can navigate. Place the camera in a way, that it can see the ground. - Requires Unity Essentials
Place a cube on top of those cube. Name it Player.
Change the camera's position and rotation, so we can see the Player Cube on top of the Ground Cubes from the side or any other perspective that you prefer.
Make the player move from left to right permanently (without requiring any input) - Requires Visual Scripting
Place a goal at the end of your ground cubes. Show a Log "You Win!" when the player touches that goal.
Make your level so long, that it does not fully fit on the screen. Make the camera follow the player.
Add a spike in the level. When the player touches the spike, show a log: "You died!" and restart the game after 3 seconds
Allow the player to jump when pressing the SPACE-key.
Make sure that the player can only jump while he is on ground. You can use OnCollisionStay
or RayCast
to do this.
Add cubes, that the player needs to jump on. If the player crashes into the cube from the side, he dies. If he lands on it, he survives.
Publish your game to Unity Play
Add a counter that shows, how often you've tried this level. Print the Output to the Log.
Make it your own. Add some Assets from Unity's Asset Store. If you can, add Effects and Sound.
If you want to be able to play your game on your phone, you should change the input to jump on click. Taps on a phone are interpreted as clicks.
Click me
- Repository
- Create a local one
- Publish it to GitHub
- Commit
- Push
- Hub
- Install an Editor
- Create a Project
- Open a Project
- Editor
- Project View
- Hierarchy View
- Scene View
- Game View
- Inspector
- Meta-Files
- PlayMode
- Console
- Engine
- GameObject
- Component
- Asset
- Scene
- Prefab
- Components
- Transform
- Position
- Rotation
- Scale
- Parent
- Camera
- DirectionalLight
- Canvas
- RectTransform
- Anchor
- Pivot
- TextMeshProUGUI
- Text
- Image
- Transform
- Packages
- Manifest
- Visual Scripting
- Build
- Play
- Update
- DeltaTime
- Frames per Second
- FixedUpdate
- Collider
- Trigger
- Events
- Rigidbody
- Velocity
- Force
- Raycast
- Vector3