Objects
Introduction
Objects (or objs) are essentailly animiated rectangles. They come in two flavours, foreground and background.
Creating Objects
There are 4 main load functions for creating objects.
- b_obj x y animg - Creates a background object at (x, y) with an animg derived from 'animg'
- f_obj x y animg - Creates a foreground object at (x, y) with an animg derived from 'animg'
- a_b_obj x y width height animg - Creates a background object at (x, y) of size (width, heigh) and with an animg derived from 'animg'
- a_b_obj x y width height animg - Creates a foregroundobject at (x, y) of size (width, heigh) and with an animg derived from 'animg'
Named load variants exist for all of these
Exec Functions
Many exec functions exist for object handeling
- rem_obj name - Removes the object named 'name'
- set_obj_animg name animg - Changes the animg of object named 'name' to one derived from 'animg'