diff --git a/source/funkin/data/stage/StageData.hx b/source/funkin/data/stage/StageData.hx index 6fb6a8caf5..56fd9ebd8d 100644 --- a/source/funkin/data/stage/StageData.hx +++ b/source/funkin/data/stage/StageData.hx @@ -281,4 +281,12 @@ typedef StageDataCharacter = @:optional @:default(1.0) var alpha:Float; + + /** + * The angle of the character, as a float. + * @default 1.0 + */ + @:optional + @:default(0.0) + var angle:Float; }; diff --git a/source/funkin/play/stage/Stage.hx b/source/funkin/play/stage/Stage.hx index 04a2a2ae47..ec58607bf6 100644 --- a/source/funkin/play/stage/Stage.hx +++ b/source/funkin/play/stage/Stage.hx @@ -458,6 +458,7 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass implements character.scrollFactor.y += stageCharData.scroll[1]; character.alpha = stageCharData.alpha; + character.angle = stageCharData.angle; #if FEATURE_DEBUG_FUNCTIONS // Draw the debug icon at the character's feet.