• Immutable Page
• Info
• Attachments

## Phun

Revision 7 as of 2008-05-30 23:11:03

Clear message

Phun is a simple 2D game/simulator where you enter simple situations and get simple results. I will be showing how to make games using the laws of physics.

Note on formatting: Sub-window names are italicized.

# Game 1: Racing

First we will make a monocycle. This lesson will teach students about gravity and inertia.

## Step 1

Change the settings. At the top of the screen should be a sub-window called Options. If this is not there, click on the options button in the Phun beta sub-window.

The following should be on: Draw Hinges/Fixes when running Gravity Friction Draw Inside Objects

The rest are relatively insignificant.

## Step 2

Make the racing surface. Select the Plane tool from the Toolbar. Pick a point in the lower one-forth, drag your mouse strait up and let go. You should have a ground now.

## Step 3

Make the monocycle! Start by drawing a circle with the circle tool near the ground. Draw a box using the box tool. Start below the bottom of the circle and to the right of the center of the circle and go to the left of the center of the circle and a little above the center of the circle. The box should hang down from the center and protrude.

### Step 3.1

Make the motor on the monocycle. Right-click on the circle, go to Geometry settings>Add center hinge. Right click on the hinge and go to Hinges> Check the following: Motor Control with arrow keys

### Step 3.2 - Testing

Press space to test it.

Woah! What happened? It's gone! Actually, it isn't. It just flew up so fast that you couldn't see it. Why? It the pendulum was hanging

UNDER CONSTRUCTION