mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
apply shader filter
This commit is contained in:
parent
bfb19cc67e
commit
703e899288
|
@ -324,6 +324,9 @@ class CharSelectSubState extends MusicBeatSubState
|
||||||
// FlxG.camera.follow(camFollow, LOCKON, 0.01);
|
// FlxG.camera.follow(camFollow, LOCKON, 0.01);
|
||||||
FlxG.camera.follow(camFollow, LOCKON);
|
FlxG.camera.follow(camFollow, LOCKON);
|
||||||
|
|
||||||
|
var fadeShaderFilter:ShaderFilter = new ShaderFilter(fadeShader);
|
||||||
|
FlxG.camera.filters = [fadeShaderFilter];
|
||||||
|
|
||||||
var temp:FlxSprite = new FlxSprite();
|
var temp:FlxSprite = new FlxSprite();
|
||||||
temp.loadGraphic(Paths.image('charSelect/placement'));
|
temp.loadGraphic(Paths.image('charSelect/placement'));
|
||||||
add(temp);
|
add(temp);
|
||||||
|
|
Loading…
Reference in a new issue