Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Unity Basics!
You have completed Unity Basics!
Preview
Let’s give the player some challenge and create our pipe obstacles and get them moving across the screen.
Unity 6 Documentation
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
If we look back at our completed preview,
we see that these obstacles consist of
0:00
two pipes, one on top, and one on bottom,
with a gap in between them.
0:00
Also, they both move together as one, so
0:05
we know they need to stay connected
somehow.
0:07
So let's create a new square game object,
0:11
and name it bottom pipe.
0:18
I'll reset the transform,
0:22
and I'll use the shortcut T
to get our Rect tool
0:25
and scale its Y a bit.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up