| Command : | VLIST |
| Usage : | VLIST = {list of items} |
| Parameters : | N/A |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The LIST, VLIST parameter creates a vertical list of text graphic objects. HLIST will create a horizontal list. The items in the list are seperated by a comma. The LIST can be specified literally, or through a file. |
|
| Command : | VISIBLE |
| Usage : | VISIBLE = {BOOLEAN} |
| Parameters : | {BOOLEAN} = TRUE / FALSE |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The VISIBLE parameter determines whether a sprite can be seen. Setting this value to FALSE will mean the sprite is NOT displayed and will not respond to collisions, or mouse clicks. Scripts events may still be triggered. (see the INVISIBLE property.) |
|
| Command : | VIEWPORTTYPE |
| Usage : | VIEWPORTTYPE = {VALUE} |
| Parameters : | VALUE = |
| Returns : | none |
| Platform : | eMotions |
| Details : | |
The VIEWPORTTYPE command allows you to control how a view-port will behave. This command will set if a view-port will deflect objects when they reach the edge of the view-port or wrap to the opposite side of the view-port. This script commands has three settings. 0 = VIEWPORT : The render surface is a view-port with a relative position to a larger world surface. The render surface is simply a view window. 1 = WRAPPING : The render surface will automatically wrap sprites and objects around when they collide with its edge. 2 = BLOCKING : The render surface will act as container for all sprites and objects. Objects & Sprites will stop moving or be deflected when they collide with the edit of the render surface. |
|
| Command : | VIEWPORTSIZE |
| Usage : | VIEWPORTSIZE = {W,H} |
| Parameters : | W,H = WIDTH AND HEIGHT OF THE RENDER WINDOW |
| Returns : | none |
| Platform : | eMotions |
| Details : | |
The VIEWPORTSIZE command allows you to specify the size of the render surface. This command is only valid within the engine.ini |
|
| Command : | VIEWPORTPOS |
| Usage : | VIEWPORTPOS = {X,Y} |
| Parameters : | X,Y = LEFT AND TOP POSITION OF THE RENDER WINDOW |
| Returns : | none |
| Platform : | eMotions |
| Details : | |
The VIEWPORTPOS command specifies the upper left corner of the render surface when eMotions is running in WINDOW or SCREEN mode. |
|
| Command : | VIEWPORTCOLOR |
| Usage : | VIEWPORTCOLOR = {HEX COLOR} |
| Parameters : | HEX COLOR = &HRRGGBB |
| Returns : | none |
| Platform : | eMotions |
| Details : | |
The VIEWPORTCOLOR command specifies the actual background of the render surface. Generally the background is BLACK or a DARK GREY. |
|
| Command : | VIEWPORT |
| Usage : | VIEWPORT = {TYPE}, {PARENT}, {LEFT}, {RIGHT}, {TOP}, {BOTTOM} |
| Parameters : | N/A |
| Returns : | none |
| Platform : | eMotions.ObjectProperty |
| Details : | |
The VIEWPORT parameter allows you to set the coordinates within the eMotions render window that the sprite is viewable. This viewport by default inherits the entire window, but custom viewports can been set for individual sprites and their values passed from parent to child sprites. (Used to simulate objects within objects.) |
|