Object values
Numbers about one object, written as Name("Object"). Put the objectโs name in the quotes.
| Value | Example from NutHouse | |
|---|---|---|
X("Ball") | X("Ball") is how far across the Ball is | |
Y("Ball") | Y("Ball") is how far down the Ball is | |
Speed("Ball") | Speed("Ball") is how fast it moves (0-100) | |
Direction("Ball") | Direction("Ball") is 0 right, 8 up, 16 left, 24 down | |
Count("Ball") | Count("Brick") is how many Bricks there are | |
AnimFrame("Ball") | AnimFrame("Hero") is the picture number in the animation | |
Value("Ball") | Value("Counter") or Value("Hero", "A") for alterable value A | |
Flag("Ball") | Flag("Hero", 0) is 1 if flag 0 is on, otherwise 0 | |
Text("Ball") | Text("Message") is the words in a String object | |
Width("Ball") | Width("Hero") is how wide it is | |
Height("Ball") | Height("Hero") is how tall it is | |