mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
Merge branch 'rewrite/master' into bugfix/blazin-flxanimate-fixes
This commit is contained in:
commit
0e37cb9540
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit bbf8c7d53b7560c7440efd4fb8b1d5cfa17e56b9
|
||||
Subproject commit f1c74ef595a29d11544492e0dc907ba9a21d7c4f
|
|
@ -94,7 +94,7 @@ class StageRegistry extends BaseRegistry<Stage, StageData>
|
|||
{
|
||||
return [
|
||||
"mainStage", "mainStageErect", "spookyMansion", "phillyTrain", "phillyTrainErect", "limoRide", "limoRideErect", "mallXmas", "mallEvil", "school",
|
||||
"schoolEvil", "tankmanBattlefield", "phillyStreets", "phillyBlazin",
|
||||
"schoolEvil", "tankmanBattlefield", "phillyStreets", "phillyStreetsErect", "phillyBlazin",
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import flixel.system.FlxAssets.FlxShader;
|
|||
import openfl.display.BitmapData;
|
||||
import openfl.display.ShaderParameter;
|
||||
import openfl.display.ShaderParameterType;
|
||||
import flixel.util.FlxColor;
|
||||
import openfl.utils.Assets;
|
||||
|
||||
typedef Light =
|
||||
|
@ -94,6 +95,14 @@ class RuntimeRainShader extends RuntimePostEffectShader
|
|||
return mask = value;
|
||||
}
|
||||
|
||||
public var rainColor(default, set):FlxColor;
|
||||
|
||||
function set_rainColor(color:FlxColor):FlxColor
|
||||
{
|
||||
this.setFloatArray("uRainColor", [color.red / 255, color.green / 255, color.blue / 255]);
|
||||
return rainColor = color;
|
||||
}
|
||||
|
||||
public var lightMap(default, set):BitmapData;
|
||||
|
||||
function set_lightMap(value:BitmapData):BitmapData
|
||||
|
@ -113,6 +122,7 @@ class RuntimeRainShader extends RuntimePostEffectShader
|
|||
public function new()
|
||||
{
|
||||
super(Assets.getText(Paths.frag('rain')));
|
||||
this.rainColor = 0xFF6680cc;
|
||||
}
|
||||
|
||||
public function update(elapsed:Float):Void
|
||||
|
|
|
@ -5713,7 +5713,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
PlayStatePlaylist.campaignId = 'week6';
|
||||
case 'tankmanBattlefield':
|
||||
PlayStatePlaylist.campaignId = 'week7';
|
||||
case 'phillyStreets' | 'phillyBlazin' | 'phillyBlazin2':
|
||||
case 'phillyStreets' | 'phillyStreetsErect' | 'phillyBlazin' | 'phillyBlazin2':
|
||||
PlayStatePlaylist.campaignId = 'weekend1';
|
||||
}
|
||||
Paths.setCurrentLevel(PlayStatePlaylist.campaignId);
|
||||
|
|
Loading…
Reference in a new issue