This course continues the development of the 2D game from the free Intro to Game Development using Unity - Part I course and you'll learn how to use more of the powerful built-in capability that Unity has by adding exciting features to your game.
Physics, particle systems, audio, animations, scoring - these topics may seem complex, but the step-by-step approach in this this course makes them easy to understand. You'll be flying the bird with simple taps (mouse clicks) to catch the worm, and avoid colliding with other game objects along the way.
Most of the scripting to implement these advanced features is done with just a few lines of code! Once you're finished with this super fun course, you'll be fully prepared to understand the vast amount of documentation and tutorials available on Unity to take your game development skills to the next level if you choose to do so.
(BTW, the 2D game developed in this series is based on the Flappy Worms game available on Google Play).
In this lesson, we use Sorting Layers. We add more GameObjects for the Bird to fly in front of, or behind, and see how easy it is to control which GameObjects are in front of others. Then, we finish laying out our scene by adding the rest of the GameObjects we’ll be using in the game.
Since our gameplay has obstacles on the way to the Worm and back, what happens when the Bird hits one of them? At the moment, nothing. None of the obstacle GameObjects has a collider component, so there’s no way to detect when a collision occurs. That’s pretty easy to fix however, and that’s what we do in this lesson. We start by reviewing the 4 types of colliders available in 2D, then we implement some of them, and write just a few lines of code to control how the Bird will respond.
In this lesson, we show how to move between the Animations that we made in the last video. We want the Bird’s wings to move when the Bird is flying, and then stop when the Bird returns to the launch tree. Unity provides an Animator Controller that allows us to control the Animations, as well as the Visual Tools to help configure the Controller. We use the Animator Window to create the transitions that allow us to move between the Animations, and then we write just a few lines of code to control these transitions in the game.
Ken DeVellis has been involved in software development for over 25 years and has provided software training for about 1/3 of his professional life. Having a passion for teaching and sharing, he's been around the world hosting software training classes to companies and individuals and now is delighted to reach even more students with his online courses.
Ken’s latest game app is called ‘Flappy Worms’ (available on the Google Play app store) and he’s now developing a suite of related games using Unity. One of Ken’s fundamental philosophies in life is this: “Knowledge is of little value until it’s shared”. Ken’s interest in teaching software technology and game development holds true to this philosophy. He has a natural talent to speak clearly and explain complex topics at the right level to every learner in his classes.