Goonstation 13 - Modules - TypesVar Details - Proc Details

/atom/movable/screen/parallax_render_source

Parallax render sources are screens that hold the appearance data for a specific type of parallax layer; this appearance is then drawn to client parallax layers using render targets and sources. This permits the appearance of a specific parallax layer to be edited at runtime and efficiently distributed across all applicable clients.

Vars

icon_heightThe height of the icon to be used for each tile of the parallax layer, stored as to save processing time.
icon_widthThe width of the icon to be used for each tile of the parallax layer, stored as to save processing time.
initial_x_coordinateThe x coordinate at which the parallax layer will be centred in the x-axis on the client's screen. Has no effect on layers set to tessellate.
initial_y_coordinateThe y coordinate at which the parallax layer will be centred in the y-axis on the client's screen. Has no effect on layers set to tessellate.
parallax_iconThe icon file that the icon for each tile of the parallax layer will draw from.
parallax_icon_stateThe icon state that the icon for each tile of the parallax layer will use.
parallax_valueHow much the parallax layer should move in response to the player moving;
scroll_angleThe compass bearing, in degrees, in which the parallax layer is to move. North: 0/360, East: 90, South: 180, West: 270.
scroll_speedThe non-parallax-adjusted speed at which the parallax layer should move. The real speed may be derived through scroll_speed * parallax_value.
static_colourIf set to TRUE, the parallax layer render source will retain its original colour when /proc/recolour_parallax_render_sources() is called.
tessellateWhether the selected icon for the parallax layer should tessellate across the client's screen.
visible_to_gpsIs this a celestial feature that shows up on PDA space GPS programs

Procs

tessellateIf the parallax render source is set to tessellate, duplicates and offsets the selected icon for the parallax render source, so that the render source appears as a seamless image.

Var Details

icon_height

The height of the icon to be used for each tile of the parallax layer, stored as to save processing time.

icon_width

The width of the icon to be used for each tile of the parallax layer, stored as to save processing time.

initial_x_coordinate

The x coordinate at which the parallax layer will be centred in the x-axis on the client's screen. Has no effect on layers set to tessellate.

initial_y_coordinate

The y coordinate at which the parallax layer will be centred in the y-axis on the client's screen. Has no effect on layers set to tessellate.

parallax_icon

The icon file that the icon for each tile of the parallax layer will draw from.

parallax_icon_state

The icon state that the icon for each tile of the parallax layer will use.

parallax_value

How much the parallax layer should move in response to the player moving;

scroll_angle

The compass bearing, in degrees, in which the parallax layer is to move. North: 0/360, East: 90, South: 180, West: 270.

scroll_speed

The non-parallax-adjusted speed at which the parallax layer should move. The real speed may be derived through scroll_speed * parallax_value.

static_colour

If set to TRUE, the parallax layer render source will retain its original colour when /proc/recolour_parallax_render_sources() is called.

tessellate

Whether the selected icon for the parallax layer should tessellate across the client's screen.

visible_to_gps

Is this a celestial feature that shows up on PDA space GPS programs

Proc Details

tessellate

If the parallax render source is set to tessellate, duplicates and offsets the selected icon for the parallax render source, so that the render source appears as a seamless image.