How To Build a Car

Under construction!

Overview

 * Before beginning this How To it is recommended that you learn How To Build and Publish a World and How To Use Action Blocks and Actions. Also, if you find How To difficult to understand we recommended that you try to use the Steering Wheel to build vehicles, check the Tips and Tricks section below for more information.


 * In order to make a car in Blocksworld you'll need a few basic Building Blocks, Action Blocks and some basic scripting knowledge.
 * First you'll need a chassis. Then you'll need to attach wheels to the chassis. Finally you'll need to program the wheels with the proper Actions to have a drivable car!
 * Let's get started...

Step-by-Step Instructions

 * 1) Build a new world, preferably Blockster Bay. [[Image:How to Build a Car START.PNG|thumb|right|Step 2. Blockster Bay and the Blocks tab open.]]
 * 2) Open the Blocks tab of the Build Panel.
 * 3) *See the Step 2 image on the right.
 * 4) Drag a cube out from the Blocks tab of the Build Panel and onto the ground.
 * 5) With the cube selected drag the orange Stretch Tool to stretch the cube a couple clicks longer in one horizontal direction to form a short rectangle. This rectangle will act as the car's chassis.
 * 6) *If not already selected, tap on the cube to select it.
 * 7) *In order to scale the cube horizontally you may have to rotate the camera to be slightly above the cube by tapping and dragging the ground.
 * 8) Open the Action Blocks tab on the Build Panel.
 * 9) Drag a wheel from the Build Panel and place it on the ground next to the cube.
 * 10) With the wheel selected drag the blue Move Tool to move the wheel so that the axle touches the elongated cube.
 * 11) *The white arrow on top of the wheel points in the direction the wheel will move in (the white arrow is only visible when the wheel is selected). [[Image:How to Build a Car 2.PNG|thumb|right|Step 7. Attaching the wheel to the chassis.]]
 * 12) *May have to drag the green Rotate Tool to rotate the wheel to be flush with the chassis and pointed in the right direction.
 * 13) *See the Step 7 image on the right.
 * 14) With the wheel selected drag the Action Panel out so that it is fully visible.
 * 15) *The Action Panel is a small grey tab on the left-most side of the screen. However, it is only visible when a block is selected.
 * 16) *Notice that the wheel is already programmed with the Drive action by default. If you were to press play now the wheel would drive off in a straight line completely on its own.
 * 17) Open the Actions tab of the Build Panel.
 * 18) Drag the Up Arrow Button from the Build Panel to the left side of Does on first row of the Action Panel.
 * 19) *This will cause the wheel to drive forward when the Up Arrow Button is pressed.
 * 20) Drag the Down Arrow Button to the left side of Does on the second row.
 * 21) Drag the Reverse action to the right side of Does on the second row. [[Image:How to Build a Car 13.PNG|thumb|right|Step 16. Front right wheel fully programmed.]]
 * 22) *This will cause the wheel to reverse when the Down Arrow Button is pressed.
 * 23) Drag the Left Arrow Button to the left side of Does on the third row.
 * 24) Drag the Turn Left action to the right side of Does on the third row.
 * 25) *This will cause the wheel to turn left when the Left Arrow Button is pressed.
 * 26) Drag the Right Arrow Button to the left side of Does on the fourth row.
 * 27) Drag the Turn Right action to the right side of Does on the fourth row.
 * 28) *This will cause the wheel to turn right when the Right Arrow Button is pressed.
 * 29) *See the Step 16 image on the right.
 * 30) Repeat steps 6 through 15 for the other front wheel.
 * 31) *Or read the tips and tricks section below to learn how to copy and paste blocks and programs for quicker building!
 * 32) Repeat steps 6 through 11 for the two rear wheels.
 * 33) *Or read the tips and tricks section below to learn how to copy and paste blocks and programs for quicker building!
 * 34) *See the Step 18 image below.
 * 35) Again, make sure that the white arrows on top of the wheels are pointing in the direction the vehicle should travel in (the white arrow is only visible when the wheel is selected).
 * 36) Enter Play Mode and use the on-screen buttons to control your car!
 * [[Image:How to Build a Car 16.PNG|thumb|left|Step 18. Attached and programmed rear wheel.]]

Copying Blocks

 * Create a single wheel with all the necessary actions and controls for driving and steering and then copy that wheel to the four corners of the car.
 * Be sure to remove the steering actions from the rear wheels or the car will turn all four wheels in the same direction!

Copying Scripts

 * Pressing the small green Copy Script button in the upper left-hand corner of the Action Panel will copy the script to the Build Panel clipboard.
 * Drag the script from your build panel clipboard onto other wheels or their action panels. This will be much quicker than individually scripting each wheel.

Using the Steering Wheel

 * The Steering Wheel block allows you to create vehicles quickly. Rather than needing to manually program each wheel you can simply attach a Steering Wheel block to your vehicle model and choose between a variety of presets!
 * The Steering Wheel is available in the 'Ready! Set! Go!' set in the Shop.

Script Example

 * {| class="wikitable" style="text-align: center;"

! This !! Does !! That
 * - style=background-color:#4da0fe
 * Button Up HD.png
 * style=background-color:#48d046 | Then HD.png
 * style=background-color:#575757 | Wheel Forward HD.png
 * -style=background-color:#9a9a9a
 * Up Arrow
 * Does
 * Drive Forward
 * }