add cameraZoom to ShaderFrontend

This commit is contained in:
2024-02-04 16:47:58 -07:00
parent 3844f86aea
commit 884fb8a201
3 changed files with 8 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
(method &override :Void update [:Float elapsed]
(super.update elapsed)
(+= FlxG.camera.scroll.x 1)
(+= FlxG.camera.zoom 0.01)
(when FlxG.keys.justPressed.SPACE
**(when FlxG.keys.justPressed.SPACE
(set shader.data.invert.value [!(first shader.data.invert.value)])))