parse hint_range and hint_color in shaders

This commit is contained in:
2024-07-11 16:21:34 -06:00
parent e7ee5e8385
commit f02e0b1fc3
4 changed files with 105 additions and 13 deletions

View File

@@ -18,7 +18,9 @@
(bg.screenCenter)
(set bg.alpha 0.5)
(add bg))
(kiss_flixel.CameraTools.addBackgroundShaders (array FlxShader (new kiss_flixel.shaders.MirroredOrnament))))
(set shader (new kiss_flixel.shaders.MirroredOrnament))
~shader.uniforms
(kiss_flixel.CameraTools.addBackgroundShaders (array FlxShader shader)))
(method &override :Void update [:Float elapsed]
(super.update elapsed)