First defined in: FKiSS1
The viewport action sets the play field position of the
top-left corner of the viewport to <X, Y>.
The viewport defines the size of the area of the play field which is
displayed. The size of the viewport can be changed with the
windowsize action.
Not all KiSS viewers support this action.
|
X
In FKiSS1 to FKiSS2.1, X must be a number.
In FKiSS3, X may be a number or a variable.
Y
In FKiSS1 to FKiSS2.1, Y must be a number.
In FKiSS3, Y may be a number or a variable.
Example:
;@ viewport(31, 25) ; Set the viewport position to 31 (x), 25 (y).
;@ viewport(X, Y) ; Set the viewport position to X, Y.