Per-map parallax support (#9786)

* Per-map parallax support

* Comments for future sloth

* c

* bet

* Fix exception

* VV support

* Fix parallax

* mem

* weightless sounds

* Gravity stuff

* placeholder coz im too lazy to stash don't @ me son

* decent clouds

* sky

* Fast parallax

* Imagine spelling

* Loicense

* perish

* Fix weightless status

Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2022-07-25 15:10:23 +10:00
committed by GitHub
parent aad6a22a6a
commit bfac53e7bc
36 changed files with 607 additions and 412 deletions

View File

@@ -1,5 +1,5 @@
- type: parallax
id: default
id: Default
layers:
- texture:
!type:ImageParallaxTextureSource
@@ -33,3 +33,41 @@
configPath: "/Prototypes/Parallaxes/parallax_config.toml"
slowness: 0.875
layersLQUseHQ: false
# Because hyperspace and the menu need their own.
- type: parallax
id: FastSpace
layers:
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Parallaxes/layer1.png"
slowness: 0.5
scale: "1, 1"
- texture:
!type:GeneratedParallaxTextureSource
id: "hq_wizard_stars"
configPath: "/Prototypes/Parallaxes/parallax_config_stars.toml"
slowness: 0.25
- texture:
!type:GeneratedParallaxTextureSource
id: "hq_wizards_star_slower"
configPath: "/Prototypes/Parallaxes/parallax_config_stars-2.toml"
slowness: 0.15
- texture:
!type:GeneratedParallaxTextureSource
id: "hq_wizard_stars_dim"
configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim.toml"
slowness: 0.375
- texture:
!type:GeneratedParallaxTextureSource
id: "hq_wizard_stars_dim_faster"
configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml"
slowness: 0.125
layersLQ:
- texture:
!type:GeneratedParallaxTextureSource
id: ""
configPath: "/Prototypes/Parallaxes/parallax_config.toml"
slowness: 0.5
layersLQUseHQ: false

View File

@@ -0,0 +1,24 @@
- type: parallax
id: Sky
layers:
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Parallaxes/land.png"
slowness: 0.98
scale: 1,1
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Parallaxes/noise.png"
slowness: 0.95
scale: "2, 2"
scrolling: "0.1, -0.05"
- type: parallax
id: Snow
layers:
- texture:
!type:ImageParallaxTextureSource
path: "/Textures/Tiles/snow.png"
slowness: 0
scale: "1, 1"
shader: ""