parallax_layer ![code/_rendering/parallax/parallax_object.dm 2](git.png)
Vars | |
absolute | absolute - always determine shift x/y as a function of real x/y instead of allowing for relative scroll. |
---|---|
center_x | normal centered x |
center_y | normal centered y |
dynamic_self_tile | dynamic self tile - tile to our view size. set this to false for static parallax layers. |
map_id | map id |
offset_x | current cached offset x |
offset_y | current cached offset y |
parallax_intensity | parallax level required to see this |
queued_animation | queued animation timerid |
speed | pixel x/y shift per real x/y |
view_current | current view we're adapted to |
Procs | |
GetOverlays | Return "natural" overlays, as we're goin to do some fuckery to overlays above. |
Var Details
absolute ![code/_rendering/parallax/parallax_object.dm 22](git.png)
absolute - always determine shift x/y as a function of real x/y instead of allowing for relative scroll.
center_x ![code/_rendering/parallax/parallax_object.dm 18](git.png)
normal centered x
center_y ![code/_rendering/parallax/parallax_object.dm 20](git.png)
normal centered y
dynamic_self_tile ![code/_rendering/parallax/parallax_object.dm 28](git.png)
dynamic self tile - tile to our view size. set this to false for static parallax layers.
map_id ![code/_rendering/parallax/parallax_object.dm 30](git.png)
map id
offset_x ![code/_rendering/parallax/parallax_object.dm 14](git.png)
current cached offset x
offset_y ![code/_rendering/parallax/parallax_object.dm 16](git.png)
current cached offset y
parallax_intensity ![code/_rendering/parallax/parallax_object.dm 24](git.png)
parallax level required to see this
queued_animation ![code/_rendering/parallax/parallax_object.dm 34](git.png)
queued animation timerid
speed ![code/_rendering/parallax/parallax_object.dm 12](git.png)
pixel x/y shift per real x/y
view_current ![code/_rendering/parallax/parallax_object.dm 26](git.png)
current view we're adapted to
Proc Details
GetOverlays
Return "natural" overlays, as we're goin to do some fuckery to overlays above.