ACTORS Rack Player 1 Rack Player 2
To change the size of an actor, double click on one of the actors in the window, it will bring up the new page shown above, on the size drop down there is a “width” and “height” option.
On the same page there is also a drop down option to change the colour.
Clicking on the colour box brings up a new window, which allows you to change the colour of the actor.
Once again on the same page there is a drop down option for Physics. Here you can change options such as the density, friction, etc. Density defines the heaviness of an actor.
A Boolean value is a data type with only two values: True or False
This behaviour makes the rack move downwards in a certain defined speed and direction when the “S” Key is “down”, this basically means holding down “S” will make the rack move downwards. This is a condition.
This means when the ball hits a racket it will bounce.