Game Development Reference
In-Depth Information
Figure 2-21. Rack Player 2 editor screen
The Ball
You will now create the ball. For reason of simplicity, you will create a square
ball of 16 x 16 pixels.This actor will be generated from another actor: either Rack
Player 1 or Rack Player 2. In the GameSalad vocabulary, we say that this actor
is spawned.
As usual, create a new actor and change the following attributes in the Actor
Editor:
Name: Ball
Size/Width: 16
Size/Height: 16
Color: Red
Physics/Restitution: 1
 
Search WWH ::




Custom Search