MOB [index],[image] {VISIBILE|HIDDEN} MOB [index],[image] AT {[x]},{[y]} {VISIBILE|HIDDEN} MOB([image])
The MOB
command allows you to define a movable object. In order to be used,
you must have loaded the image. The simplest syntax provides, in fact, the
definition of the object. It is possible to indicate a starting position
for the object, different from (0,0) and whether the object is visible or not.
Additional syntaxes are available for such situations.
starship = 1: MOB starship, LOAD IMAGE("starship.png") MOB 2, alien AT 100,100 HIDDEN
See also the following example files:
Mb
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!