Documente Academic
Documente Profesional
Documente Cultură
In many of the GUI actions, you can choose if the action applies to the current object
instance, the other object instance (e.g. in a collision), or some other object instance
in the game. The GML commands listed below all operate on the current object
instance. If you want the commands to work on the other object instance, use the
with (other) { } construction. See the documentation on the GML Language -
Reference.
MOVE ACTIONS
GUI Action Equivalent GML Commands
Set direction
and speed of direction= <expression>; speed= <expression>;
motion
CONTROL ACTIONS
GUI Action Equivalent GML Commands
if
If the number of instances is (instance_number(obj)==<express
a value ion>)
Else else
repeat (<expression>)
Repeat next action <statement>
SCORE Actions
GUI Action Equivalent GML Commands
DRAW ACTIONS
GUI Action Equivalent GML Commands