O'Reilly logo

Buildbox 2.x Game Development by Ty Audronis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Collisions and obstacles

We can't wait for you to see your parallax backgrounds, but right now the game is not testable. There is no ground to drive on, and our rover still needs its collision shapes adjusted. If you remember from our previous chapter, collision shapes must be edited in the base object, and not the instance on the game stage. So, let's start with the wheels.

In the asset library, open the Objects section and select the Wheel. In the properties window, you'll see a field called CollisionShape. Click the Edit button for this field.

Within the shape editor, you can see that the current collision shape barely covers the axle of the wheel. Let's expand this selection using the handle (a small dot) on the right side of the circle to cover ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required