Game Development Reference
In-Depth Information
Figure 10.2
The equation allows you to change the slope.
Figure 10.3
When you change your y-intercept value, you change the point at which the line intersects with the y axis.
an initial value of 3 to the y-intercept. The value corresponds to the b constant in
the slope-line-intercept equation. The goal here involves altering this value to see
the difference that results in the position of the line.
Referring to Figure 10.2, change the value of the y-intercept to 3. To do so, click
to activate the field. Press the back arrow key to delete the previous value. Type 2
to replace it. To verify your value, click the button with the equal sign on the
right. The value you see is 2, as Figure 10.2 illustrates.
Now click the Chart for Formula 1 button in the lower-right panel. The position
at which the line crosses the y axis changes. You see the line intercept with 2 on
the y axis, as Figure 10.3 illustrates. After changing the y-intercept to 2, change it
back to 3. Try other values, such as 1 and 4.
Search WWH ::




Custom Search