We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff56b19 commit f6d9d29Copy full SHA for f6d9d29
source/funkin/data/stage/StageData.hx
@@ -281,4 +281,12 @@ typedef StageDataCharacter =
281
@:optional
282
@:default(1.0)
283
var alpha:Float;
284
+
285
+ /**
286
+ * The angle of the character, as a float.
287
+ * @default 1.0
288
+ */
289
+ @:optional
290
+ @:default(0.0)
291
+ var angle:Float;
292
};
source/funkin/play/stage/Stage.hx
@@ -458,6 +458,7 @@ class Stage extends FlxSpriteGroup implements IPlayStateScriptedClass implements
458
character.scrollFactor.y += stageCharData.scroll[1];
459
460
character.alpha = stageCharData.alpha;
461
+ character.angle = stageCharData.angle;
462
463
#if FEATURE_DEBUG_FUNCTIONS
464
// Draw the debug icon at the character's feet.
0 commit comments