Codename LogoCodename Logo

funkin.backend.chart.EventsData

APIWikiTools

Static variables

View on GitHub

staticdefaultEventsList:Array<String> = ["HScript Call", "Camera Movement", "Camera Position", "Add Camera Zoom", "Camera Zoom", "Camera Modulo Change", "Camera Flash", "BPM Change", "Continuous BPM Change", "Time Signature Change", "Scroll Speed Change", "Alt Animation Toggle", "Play Animation"]

View on GitHub

staticdefaultEventsParams:Map<String, Array<EventParamInfo>> = ["HScript Call" => [{ name : "Function Name", type : TString, defValue : "myFunc" }, { name : "Function Parameters (String split with commas)", type : TString, defValue : "" }], "Camera Movement" => [{ name : "Camera Target", type : TStrumLine, defValue : 0 }, { name : "Tween Movement?", type : TBool, defValue : true, saveIfDefault : false }, { name : "Tween Time (Steps, IF NOT CLASSIC)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4, saveIfDefault : false }, { name : "Tween Ease (ex: circ, quad, cube)", type : TDropDown(["CLASSIC", "linear", "back", "bounce", "circ", "cube", "elastic", "expo", "quad", "quart", "quint", "sine", "smoothStep", "smootherStep"]), defValue : "CLASSIC", saveIfDefault : false }, { name : "Tween Type (excluded if CLASSIC or linear, ex: InOut)", type : TDropDown(["In", "Out", "InOut"]), defValue : "In", saveIfDefault : false }], "Camera Position" => [{ name : "X", type : TFloat(null, null, 10, 3), defValue : 0 }, { name : "Y", type : TFloat(null, null, 10, 3), defValue : 0 }, { name : "Tween Movement?", type : TBool, defValue : true, saveIfDefault : false }, { name : "Tween Time (Steps, IF NOT CLASSIC)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4, saveIfDefault : false }, { name : "Tween Ease (ex: circ, quad, cube)", type : TDropDown(["CLASSIC", "linear", "back", "bounce", "circ", "cube", "elastic", "expo", "quad", "quart", "quint", "sine", "smoothStep", "smootherStep"]), defValue : "CLASSIC", saveIfDefault : false }, { name : "Tween Type (excluded if CLASSIC or linear, ex: InOut)", type : TDropDown(["In", "Out", "InOut"]), defValue : "In", saveIfDefault : false }, { name : "Is Offset?", type : TBool, defValue : false, saveIfDefault : false }], "Add Camera Zoom" => [{ name : "Amount", type : TFloat(-10, 10, 0.01, 2), defValue : 0.05 }, { name : "Camera", type : TDropDown(["camGame", "camHUD"]), defValue : "camGame" }], "Camera Zoom" => [{ name : "Tween Zoom?", type : TBool, defValue : true }, { name : "New Zoom", type : TFloat(-10, 10, 0.01, 2), defValue : 1 }, { name : "Camera", type : TDropDown(["camGame", "camHUD"]), defValue : "camGame" }, { name : "Tween Time (Steps)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4 }, { name : "Tween Ease (ex: circ, quad, cube)", type : TDropDown(["linear", "back", "bounce", "circ", "cube", "elastic", "expo", "quad", "quart", "quint", "sine", "smoothStep", "smootherStep"]), defValue : "linear" }, { name : "Tween Type (excluded if linear, ex: InOut)", type : TDropDown(["In", "Out", "InOut"]), defValue : "In" }, { name : "Mode", type : TDropDown(["direct", "stage"]), defValue : "direct" }, { name : "Multiplicative?", type : TBool, defValue : true }], "Camera Modulo Change" => [{ name : "Modulo Interval", type : TInt(1, 9999999, 1), defValue : 4 }, { name : "Bump Strength", type : TFloat(0.1, 10, 0.01, 2), defValue : 1 }, { name : "Every Beat Type", type : TDropDown(["BEAT", "MEASURE", "STEP"]), defValue : "BEAT" }, { name : "Beat Offset", type : TFloat(-10, 10, 0.25, 2), defValue : 0 }], "Camera Flash" => [{ name : "Reversed?", type : TBool, defValue : false }, { name : "Color", type : TColorWheel, defValue : "#FFFFFF" }, { name : "Time (Steps)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4 }, { name : "Camera", type : TDropDown(["camGame", "camHUD"]), defValue : "camHUD" }], "BPM Change" => [{ name : "Target BPM", type : TFloat(1.00, 9999, 0.001, 3), defValue : 100 }], "Continuous BPM Change" => [{ name : "Target BPM", type : TFloat(1.00, 9999, 0.001, 3), defValue : 100 }, { name : "Time (steps)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4 }], "Time Signature Change" => [{ name : "Target Numerator", type : TFloat(1), defValue : 4 }, { name : "Target Denominator", type : TFloat(1), defValue : 4 }, { name : "Denominator is Steps Per Beat", type : TBool, defValue : false }], "Scroll Speed Change" => [{ name : "Tween Speed?", type : TBool, defValue : true }, { name : "New Speed", type : TFloat(0.01, 99, 0.01, 2), defValue : 1. }, { name : "Tween Time (Steps)", type : TFloat(0.25, 9999, 0.25, 2), defValue : 4 }, { name : "Tween Ease (ex: circ, quad, cube)", type : TDropDown(["linear", "back", "bounce", "circ", "cube", "elastic", "expo", "quad", "quart", "quint", "sine", "smoothStep", "smootherStep"]), defValue : "linear" }, { name : "Tween Type (excluded if linear, ex: InOut)", type : TDropDown(["In", "Out", "InOut"]), defValue : "In" }, { name : "Multiplicative?", type : TBool, defValue : false }], "Alt Animation Toggle" => [{ name : "Enable On Sing Poses", type : TBool, defValue : true }, { name : "Enable On Idle", type : TBool, defValue : true }, { name : "Strumline", type : TStrumLine, defValue : 0 }], "Play Animation" => [{ name : "Character", type : TStrumLine, defValue : 0 }, { name : "Animation", type : TString, defValue : "animation" }, { name : "Is forced?", type : TBool, defValue : true }, { name : "Animation Context", type : TDropDown(["NONE", "SING", "DANCE", "MISS", "LOCK"]), defValue : "NONE" }]]

View on GitHub

staticeventsList:Array<String> = defaultEventsList.copy()

View on GitHub

staticeventsParams:Map<String, Array<EventParamInfo>> = defaultEventsParams.copy()

Static methods