diff --git a/docs/doc.xml b/docs/doc.xml index e0b1f899..90953c8f 100644 --- a/docs/doc.xml +++ b/docs/doc.xml @@ -1,10 +1,10 @@ - + - + @@ -153,19 +153,19 @@ * `FlxGroup` extend this class. Has no size, position or graphical data. - + <_inPool> - + - + <_pool expr="new FlxPool<FlxRect>(FlxRect)" line="15" static="1"> @@ -467,7 +467,7 @@ * Stores a rectangle. - + @@ -1220,7 +1220,7 @@ * sizes, scrolling, and basic physics and motion. - + @@ -1644,22 +1644,14 @@ - <__drawComplexFlipX expr="false"> - - false - - <__drawComplexFlipY expr="false"> - - false - - + - + @@ -1674,7 +1666,7 @@ * @param X The X coordinate of the brush's top left corner on this sprite. * @param Y They Y coordinate of the brush's top left corner on this sprite. - + @@ -1685,7 +1677,7 @@ * * @param Force Force the frame to redraw, even if its not flagged as necessary. - + @@ -1695,12 +1687,12 @@ * * @param AdjustPosition Adjusts the actual X and Y position just once to match the offset change. - + * Sets the sprite's origin to its center - useful after adjusting * `scale` to make sure rotations work as expected. - + @@ -1716,7 +1708,7 @@ * @param FetchPositions Whether we need to store positions of pixels which colors were replaced. * @return `Array` with replaced pixels positions - + @@ -1741,8 +1733,8 @@ * @param blueOffset The offset for the blue color channel value, in the range from `-255` to `255`. * @param alphaOffset The offset for alpha transparency channel value, in the range from `-255` to `255`. - - + + @@ -1758,7 +1750,7 @@ * @param Camera Specify which game camera you want. If `null`, it will just grab the first global camera. * @return Whether or not the point overlaps this object. - + @@ -1771,11 +1763,11 @@ * * @param RunOnCpp Whether the frame should also be recalculated if we're on a non-flash target - + * Retrieves the `BitmapData` of the current `FlxFrame`. Updates `framePixels`. - + @@ -1786,7 +1778,7 @@ * Otherwise a new one is created. * @return A `FlxPoint` containing the midpoint of this sprite's graphic in world coordinates. - + @@ -1797,7 +1789,7 @@ * @param Camera Specify which game camera you want. If `null`, it will just grab the first global camera. * @return Whether the object is on screen or not. - + @@ -1805,7 +1797,7 @@ * Returns the result of `isSimpleRenderBlit()` if `FlxG.renderBlit` is * `true`, or `false` if `FlxG.renderTile` is `true`. - + @@ -1817,7 +1809,7 @@ * * @param camera If a camera is passed its `pixelPerfectRender` flag is taken into account - + @@ -1830,7 +1822,7 @@ * @return A globally aligned `FlxRect` that fully contains the input object's width and height. * @since 4.11.0 - + @@ -1843,7 +1835,7 @@ * @return A globally aligned `FlxRect` that fully contains the input sprite. * @since 4.11.0 - + @@ -1859,7 +1851,7 @@ * @param FlipX Whether to flip the sprite on the X axis. * @param FlipY Whether to flip the sprite on the Y axis. - + @@ -1875,64 +1867,64 @@ * @param saveAnimations Whether to save animations in animation controller or not. * @return This sprite with loaded frames - + - + - + - + - + - + - + - + - + - + @@ -1941,14 +1933,14 @@ * Internal function for setting graphic property for this object. * It changes graphics' `useCount` also for better memory tracking. - + - + @@ -1960,39 +1952,39 @@ * @param Frames frames to load into this sprite. * @return loaded frames. - + - + - + - + - + - + @@ -2020,7 +2012,7 @@ * The image `BitmapData` is stored in the `pixels` field. - + @@ -2916,7 +2908,7 @@ - + @@ -3343,7 +3335,7 @@ * add itself to the global collisions quad tree, it will only add its members. - + @@ -16327,7 +16319,7 @@ - + @@ -16423,7 +16415,7 @@ * ``` - + @@ -16439,7 +16431,7 @@ - + @@ -16451,7 +16443,7 @@ <_tongue> - + @@ -17191,7 +17183,7 @@ - + @@ -18290,7 +18282,7 @@ - + "__ASSET__:file___ASSET__assets_fonts_fonts_go_here_txt1" @@ -18439,7 +18431,7 @@ - + "LIME_font___ASSET__assets_fonts_pixel_otf1" @@ -18455,7 +18447,7 @@ - + "LIME_font___ASSET__assets_fonts_vcr_ttf1" @@ -18471,7 +18463,7 @@ - + "__ASSET__:file___ASSET__flixel_sounds_beep_ogg" @@ -18484,13 +18476,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets/sounds/beep.ogg" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/sounds/beep.ogg" - + "__ASSET__:file___ASSET__flixel_sounds_flixel_ogg" @@ -18503,13 +18495,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets/sounds/flixel.ogg" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/sounds/flixel.ogg" - + "__ASSET__:file___ASSET__flixel_sounds_type_ogg" @@ -18522,13 +18514,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets/sounds/type.ogg" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/sounds/type.ogg" - + "LIME_font___ASSET__flixel_fonts_nokiafc22_ttf" @@ -18538,13 +18530,13 @@ lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() - "E:/Dev/HaxeFlixel/flixel/assets/fonts/nokiafc22.ttf" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/fonts/nokiafc22.ttf" - + "LIME_font___ASSET__flixel_fonts_monsterrat_ttf" @@ -18554,7 +18546,7 @@ lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() - "E:/Dev/HaxeFlixel/flixel/assets/fonts/monsterrat.ttf" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/fonts/monsterrat.ttf" @@ -19213,7 +19205,7 @@ - + "__ASSET__:image___ASSET__flixel_images_ui_button_png" @@ -19231,13 +19223,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets/images/ui/button.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/images/ui/button.png" - + "__ASSET__:image___ASSET__flixel_images_logo_default_png" @@ -19255,13 +19247,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets/images/logo/default.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets/images/logo/default.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_box_png" @@ -19279,13 +19271,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/box.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/box.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_png" @@ -19303,13 +19295,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_down_png" @@ -19327,13 +19319,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_arrow_down.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_arrow_down.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_left_png" @@ -19351,13 +19343,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_arrow_left.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_arrow_left.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_right_png" @@ -19375,13 +19367,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_arrow_right.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_arrow_right.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_up_png" @@ -19399,13 +19391,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_arrow_up.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_arrow_up.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_thin_png" @@ -19423,13 +19415,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_thin.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_thin.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_toggle_png" @@ -19447,13 +19439,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/button_toggle.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/button_toggle.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_check_box_png" @@ -19471,13 +19463,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/check_box.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/check_box.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_check_mark_png" @@ -19495,13 +19487,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/check_mark.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/check_mark.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_png" @@ -19519,13 +19511,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/chrome.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/chrome.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_flat_png" @@ -19543,13 +19535,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/chrome_flat.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/chrome_flat.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_inset_png" @@ -19567,13 +19559,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/chrome_inset.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/chrome_inset.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_light_png" @@ -19591,13 +19583,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/chrome_light.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/chrome_light.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_dropdown_mark_png" @@ -19615,13 +19607,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/dropdown_mark.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/dropdown_mark.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_finger_big_png" @@ -19639,13 +19631,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/finger_big.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/finger_big.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_finger_small_png" @@ -19663,13 +19655,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/finger_small.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/finger_small.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_hilight_png" @@ -19687,13 +19679,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/hilight.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/hilight.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_invis_png" @@ -19711,13 +19703,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/invis.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/invis.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_minus_mark_png" @@ -19735,13 +19727,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/minus_mark.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/minus_mark.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_plus_mark_png" @@ -19759,13 +19751,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/plus_mark.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/plus_mark.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_radio_png" @@ -19783,13 +19775,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/radio.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/radio.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_radio_dot_png" @@ -19807,13 +19799,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/radio_dot.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/radio_dot.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_swatch_png" @@ -19831,13 +19823,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/swatch.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/swatch.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tab_png" @@ -19855,13 +19847,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/tab.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/tab.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tab_back_png" @@ -19879,13 +19871,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/tab_back.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/tab_back.png" - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tooltip_arrow_png" @@ -19903,13 +19895,13 @@ lime._internal.macros.AssetsMacro.embedImage() lime._internal.macros.AssetsMacro.embedImage() - "E:/Dev/HaxeFlixel/flixel/assets-ui/images/tooltip_arrow.png" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/images/tooltip_arrow.png" - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_defaults_xml" @@ -19922,13 +19914,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets-ui/xml/defaults.xml" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/xml/defaults.xml" - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_default_loading_screen_xml" @@ -19941,13 +19933,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets-ui/xml/default_loading_screen.xml" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/xml/default_loading_screen.xml" - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_default_popup_xml" @@ -19960,13 +19952,13 @@ lime._internal.macros.AssetsMacro.embedBytes() lime._internal.macros.AssetsMacro.embedBytes() - "E:/Dev/HaxeFlixel/flixel/assets-ui/xml/default_popup.xml" + "C:/HaxeToolkit/haxe/lib/flixel-yc29/git/assets-ui/xml/default_popup.xml" - + "__ASSET__:file___ASSET__manifest_assets_json" @@ -19985,7 +19977,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() @@ -19995,7 +19987,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() @@ -20174,7 +20166,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20186,7 +20178,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20198,7 +20190,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20210,7 +20202,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20222,7 +20214,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20234,7 +20226,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -20598,7 +20590,7 @@ - + @@ -22819,7 +22811,7 @@ - + @@ -22894,7 +22886,7 @@ - + @@ -24836,7 +24828,7 @@ "void" - + <_onRequest set="method" line="159" static="1"> @@ -24862,7 +24854,7 @@ <_onReady set="method" line="150" static="1"> - + * Called once Discord has connected and is ready to start. @@ -24945,7 +24937,7 @@ - + <_init set="method" static="1"> @@ -25029,20 +25021,20 @@ - <__touch get="inline" set="null" expr=""1.665397787e+012"" line="22" static="1"> + <__touch get="inline" set="null" expr=""1.665409631e+012"" line="22" static="1"> - "1.665397787e+012" + "1.665409631e+012" - \n"]]> + \n"]]> "linc_discord_rpc.h" linc.Linc.touch() linc.Linc.xml("discord_rpc") - + @@ -25054,21 +25046,21 @@ - - + + - + - + - + @@ -25116,7 +25108,7 @@ - + @@ -25194,12 +25186,12 @@ - + - + @@ -25227,7 +25219,7 @@ - + @@ -25314,11 +25306,11 @@ - + * Types of flixel objects - mainly for collisions. - + @@ -25362,7 +25354,7 @@ - + @@ -25405,7 +25397,7 @@ - + @@ -25461,8 +25453,8 @@ - - + + <_pool expr="new FlxPool<FlxPoint>(FlxPoint)" line="17" static="1"> @@ -26898,7 +26890,7 @@ - + @@ -27460,7 +27452,7 @@ { smoothing : false } - + @@ -27469,11 +27461,9 @@ - - - { flipY : false, flipX : false, smoothing : false } + { smoothing : false } @@ -27900,7 +27890,7 @@ * |-> `debugLayer:Sprite` (this sprite is used in tile render mode for rendering debug info, like bounding boxes)]]> - + * Camera has no deadzone, just tracks the focus object directly. * Camera's deadzone is narrow but tall. * Camera's deadzone is a medium-size square around the focus object. @@ -27912,7 +27902,7 @@ - + "" @@ -27939,7 +27929,7 @@ flixel.system.macros.FlxGitSHA.buildGitSHA("flixel") - + * Gets max texture size for native targets @@ -28158,7 +28148,7 @@ * Accessed via `FlxG.bitmap`. - + @@ -28191,7 +28181,7 @@ * Accessed via `FlxG.bitmapLog`. - + [] @@ -28403,7 +28393,7 @@ * Accessed via `FlxG.cameras`. - + true @@ -28465,7 +28455,7 @@ * Accessed via `FlxG.console`. - + 3 @@ -28580,7 +28570,7 @@ * Accessed via `FlxG.debugger`. - + [] @@ -28620,7 +28610,7 @@ * Accessed via `FlxG.inputs`. - + @@ -28725,7 +28715,7 @@ - + @@ -28941,7 +28931,7 @@ * A class containing a set of functions for random generation. Should be accessed via `FlxG.random`. - + @@ -29056,7 +29046,7 @@ * handles some annoying storage request stuff too. - + @@ -29102,7 +29092,7 @@ * * The default behavior of `BaseScaleMode` matches that of `FillScaleMode`. - + @@ -29126,7 +29116,7 @@ * This is the default scaling mode used by HaxeFlixel. - + new FlxSignal() @@ -29222,7 +29212,7 @@ * Accessed via `FlxG.signals`. - + @@ -29306,7 +29296,7 @@ * Accessed via `FlxG.watch`. - + false @@ -29767,7 +29757,7 @@ * Global helper class for audio, input, the camera system, the debugger and other global properties. - + @@ -29775,7 +29765,7 @@ - + @@ -29938,42 +29928,38 @@ * Internal method to create a new instance of `_initialState` and reset the game. * This gets called when the game is created, as well as when a new state is requested. - - - false - - <__firstSwitch expr="true"> + true - - + + * If there is a state change requested during the update loop, * this function handles actual destroying the old state and related processes, * and calls creates on the new state and plugs it into the game object. - - + + * This is the main game update logic section. * The `onEnterFrame()` handler is in charge of calling this * the appropriate number of times each frame. * This block handles state changes, replays, all that good stuff. - - + + * This function is called by `step()` and updates the actual game state. * May be called multiple times per "frame" or draw call. - - - + + + * Goes through the game state and draws all the game objects and special effects. - - + + @@ -30009,7 +29995,7 @@ flixel.FlxG - + @@ -30110,7 +30096,7 @@ { Y : 0, X : 0 } - + @@ -30153,7 +30139,7 @@ * * WARNING: This class is EXTREMELY slow on Flash! - + @@ -30218,7 +30204,7 @@ * By default, it also stops the parent state from updating, * making it convenient for pause screens or menus. - + [] @@ -30231,7 +30217,7 @@ - + 0 @@ -30749,7 +30735,7 @@ * var gameid = 1; // Replace "1" with your game ID, visible if you go to https://gamejolt.com/dashboard/ -> Click on your game under "Manage Games" -> Click on "Achievements" in the menu. * FlxGameJolt.init(gameid, keystring); // Use this if your game is embedded as Flash on GameJolt's site, or run via Quick Play.]]> - + <_ppoint> <_scrollW expr="0"> @@ -30849,7 +30835,7 @@ * @author Chevy Ray - + @@ -31250,13 +31236,13 @@ * @author Richard Davey / Photon Storm - + - + @@ -31329,7 +31315,7 @@ * @author Richard Davey / Photon Storm - + @@ -31402,7 +31388,7 @@ - + @@ -31545,7 +31531,7 @@ * It can contain only other FlxNestedSprites. * @author Zaphod - + <_shadedScrollRect expr="new Sprite()"> @@ -31660,7 +31646,7 @@ * * @since 2.9.0]]> - + @@ -31910,7 +31896,7 @@ * @author Zaphod * @since 2.1.0 - + @@ -31964,7 +31950,7 @@ * @author Simon Etienne Rozner / Gameonaut.com, ported to Haxe by Sam Batista * @author Slightly updated by Beeblerox. - + @@ -32004,7 +31990,7 @@ - + @@ -32024,7 +32010,7 @@ { StarAmount : 300, Height : 0, Width : 0, Y : 0, X : 0 } - +
@@ -32044,7 +32030,7 @@ { StarAmount : 300, Height : 0, Width : 0, Y : 0, X : 0 }
- + @@ -32054,7 +32040,7 @@ - + @@ -32152,7 +32138,7 @@ * @author Zaphod * @since 2.1.0 - + @@ -32197,7 +32183,7 @@ * @author greglieberman * @email greg@kwarp.com - + @@ -32263,11 +32249,11 @@ * * @author MrCdK - + - + @@ -32287,7 +32273,7 @@ - + @@ -32306,7 +32292,7 @@ - + @@ -32335,7 +32321,7 @@ * (original by Matt Tuttle based on Thomas Jahn's. Haxe port by Adrien Fischer) * This content is released under the MIT License. - + @@ -32375,7 +32361,7 @@ * This content is released under the MIT License. - + @@ -32393,7 +32379,7 @@
- + @@ -32407,7 +32393,7 @@ * This content is released under the MIT License. - + @@ -32417,7 +32403,7 @@ - + @@ -32507,11 +32493,11 @@ * (original by Matt Tuttle based on Thomas Jahn's. Haxe port by Adrien Fischer) * This content is released under the MIT License. - + - + 0x40000000 @@ -32606,7 +32592,7 @@ * This content is released under the MIT License. - + @@ -32624,7 +32610,7 @@ * This content is released under the MIT License. - + @@ -32652,7 +32638,7 @@ * This content is released under the MIT License. - + 0x80000000 @@ -32707,7 +32693,7 @@ - + @@ -32741,14 +32727,14 @@ - + @since 2.2.0 - + @@ -32775,7 +32761,7 @@ @since 2.2.0 - + @@ -32836,12 +32822,12 @@ * This content is released under the MIT License. - - + + - + @@ -33002,7 +32988,7 @@ * * @author adrianulima - + @@ -33012,12 +32998,12 @@ - + - + @@ -33063,7 +33049,7 @@ * @author Zaphod - + @@ -33227,7 +33213,7 @@ * Feel free to use this class and adjust it to your needs. * @author Gama11 - + @@ -33390,7 +33376,7 @@ * add it to the display. Then add all sprites that should have a trail effect via the add function. * @author KeyMaster - + @@ -33453,7 +33439,7 @@ * Use this class to chain bitmap effects to your target FlxSprite frame. * @author adrianulima - + @@ -33466,7 +33452,7 @@ - + @@ -33545,7 +33531,7 @@ * @author Tim Hely / tims-world.com * @author adrianulima - + @@ -33553,7 +33539,7 @@ - + @@ -33665,7 +33651,7 @@ * @author red__hara * @author adrianulima - + @@ -33675,7 +33661,7 @@ - + @@ -33746,7 +33732,7 @@ * @author Tim Hely / tims-world.com * @author adrianulima - + @@ -33835,7 +33821,7 @@ * * @author adrianulima - + @@ -33936,7 +33922,7 @@ * * @author adrianulima - + @@ -34039,7 +34025,7 @@ * @author Tim Hely / tims-world.com * @author adrianulima - + @@ -34048,7 +34034,7 @@ - + @@ -34056,7 +34042,7 @@ - + @@ -34398,7 +34384,7 @@ - + @@ -34519,7 +34505,7 @@ * @author Richard Davey / Photon Storm * @co-author Ungar Djordje / ArtBIT (Haxe port) - + @@ -34535,7 +34521,7 @@ - + @@ -34622,7 +34608,7 @@ * @link http://www.photonstorm.com * @author Richard Davey / Photon Storm - + 0 @@ -35321,7 +35307,7 @@ * @author Richard Davey / Photon Storm - + <_hotkeys static="1"> @@ -35411,7 +35397,7 @@ * @link http://www.photonstorm.com * @author Richard Davey / Photon Storm - + @@ -35450,7 +35436,7 @@ * @since 11.19.2012 - + @@ -35612,7 +35598,7 @@ * @author Zaphod * @since 11.19.2012 - + @@ -36000,7 +35986,7 @@ * though. Also does nice pixel-perfect centering on pixel fonts as long as they are only one-liners. - + @@ -36542,7 +36528,7 @@ openfl.utils._internal.AssetsMacro.embedSound() - + @@ -36560,7 +36546,7 @@ "assets/sounds/type.ogg" - + @@ -36806,7 +36792,7 @@ * @author Noel Berry]]> - + @@ -36892,7 +36878,7 @@ * to generate very sexy caves. * (Coded by Eddie Lee, October 16, 2010) - + @@ -36944,7 +36930,7 @@ - + @@ -37051,7 +37037,7 @@ - + @@ -38935,7 +38921,7 @@ openfl.utils._internal.AssetsMacro.embedBitmap() - + @@ -38958,7 +38944,7 @@ "assets/images/transitions/circle.png" - + @@ -38982,7 +38968,7 @@ "assets/images/transitions/diamond.png" - + @@ -39005,7 +38991,7 @@ "assets/images/transitions/square.png" - + <_delay> <_count> @@ -39063,10 +39049,10 @@ * @author Tim Hely - + - + @@ -39110,7 +39096,7 @@ - + @@ -39153,7 +39139,7 @@ - + <_effect> @@ -39188,10 +39174,10 @@ * @author Tim Hely, larsiusprime - + - + @@ -39219,7 +39205,7 @@ - + @@ -39246,7 +39232,7 @@ - + @@ -39255,7 +39241,7 @@ - + @@ -39283,7 +39269,7 @@ * @author larsiusprime - + @@ -39321,7 +39307,7 @@ * @author larsiusprime flixel.addons.transition.Transition - + @@ -39345,7 +39331,7 @@ "assets/images/transitions/diagonal_gradient.png" - + @@ -39402,7 +39388,7 @@ * @author larsiusprime - + <_grpSprites> <_isCenter expr="false"> @@ -39430,7 +39416,7 @@ * @author larsiusprime - + @@ -39487,7 +39473,7 @@ * A class that describes how some object should be positioned relative to another - + 0 @@ -39508,7 +39494,7 @@ - + @@ -39534,7 +39520,7 @@ - + null @@ -39564,7 +39550,7 @@ - + @@ -39620,7 +39606,7 @@ * Makes it easier to check if, say, SHIFT+Tab is being pressed rather than just Tab by itself - + @@ -39774,7 +39760,7 @@ * @link http://www.photonstorm.com * @author Richard Davey / Photon Storm - + @@ -39847,7 +39833,7 @@ * Trimmed-down button, invisible click area, only responds to onUP - + @@ -40222,7 +40208,7 @@ * @link http://creativecommons.org/licenses/by/3.0/us/ - + @@ -40248,7 +40234,7 @@ * @author larsiusprime - + @@ -40283,7 +40269,7 @@ * @author larsiusprime - + @@ -40291,12 +40277,12 @@ - + - + @@ -40319,7 +40305,7 @@ * @author larsiusprime - + @@ -40530,7 +40516,7 @@ * A slider GUI element for float and integer manipulation. * @author Gama11 - + @@ -40574,7 +40560,7 @@ * @author Lars Doucet - + @@ -40639,7 +40625,7 @@ * @author Lars Doucet - + @@ -41717,14 +41703,14 @@ * @author Lars Doucet - + - + @@ -41734,38 +41720,38 @@ - + - + - + - + - + - + - + - + @@ -41811,7 +41797,7 @@ * @author Lars Doucet - + @@ -42445,7 +42431,7 @@ - + @@ -42660,11 +42646,11 @@ * @author Lars Doucet - + - + "flixel/flixel-ui/img/button.png" @@ -42813,7 +42799,7 @@ null - + @@ -43229,7 +43215,7 @@ * @author Richard Davey / Photon Storm - + @@ -43237,7 +43223,7 @@ - + @@ -43295,7 +43281,7 @@ * @author larsiusprime - + @@ -43306,7 +43292,7 @@ - + @@ -43340,7 +43326,7 @@ - + - + * The cursor can point to one of these * @author Lars Doucet - + @@ -43565,7 +43551,7 @@ - + @@ -43696,7 +43682,7 @@ flixel.ui.FlxButton - + @@ -44040,7 +44026,7 @@ - + @@ -44050,7 +44036,7 @@ * @author Lars Doucet - + @@ -44185,7 +44171,7 @@ * state just by adjusting a few public variables - + @@ -44309,7 +44295,7 @@ * @author Lars Doucet - + @@ -44407,7 +44393,7 @@ - + @@ -44520,12 +44506,12 @@ * ... * @author larsiusprime - + - + @@ -44836,26 +44822,26 @@ * TODO: need to support gamepad and/or deal with absence of mouse - + - + - + - + @@ -45019,7 +45005,7 @@ * @author larsiusprime - + @@ -45053,7 +45039,7 @@ * Header for a FlxUIDropDownMenu - + @@ -45062,7 +45048,7 @@ - + @@ -45111,7 +45097,7 @@ * @author Lars Doucet - + @@ -45157,7 +45143,7 @@ * @author larsiusprime - + @@ -45165,7 +45151,7 @@ - + @@ -45287,7 +45273,7 @@ - + @@ -45419,7 +45405,7 @@ * * @author Lars Doucet - + @@ -45592,7 +45578,7 @@ - + @@ -45710,7 +45696,7 @@ * * @author larsiusprime - + <_cachedPoint expr="new FlxPoint()" line="19" static="1"> new FlxPoint() @@ -45818,7 +45804,7 @@ - + @@ -45826,7 +45812,7 @@ flixel.system.frontEnds.InputFrontEnd - + @@ -46075,7 +46061,7 @@ * Normally accessed via `FlxG.mouse`. - + @@ -46094,7 +46080,7 @@ * like using the keyboard to control mouse moving/clicking - + @@ -46246,7 +46232,7 @@ - + @@ -46467,7 +46453,7 @@ * @author Lars Doucet - + @@ -46490,7 +46476,7 @@ - + @@ -46517,7 +46503,7 @@ * A scalable object with width and height that isn't used for display purposes - + @@ -46544,7 +46530,7 @@ - + @@ -46579,7 +46565,7 @@ * accordingly. - + @@ -46745,7 +46731,7 @@ * @author Lars Doucet - + @@ -46790,7 +46776,7 @@ * @author Lars Doucet - + @@ -46864,7 +46850,7 @@ * This is mostly just for testing purposes, it is NOT a replacement for FlxTileMap - + @@ -46975,7 +46961,7 @@ * @author larsiusprime - + @@ -47049,7 +47035,7 @@ - + @@ -47264,7 +47250,7 @@ * @author larsiusprime - + @@ -47285,7 +47271,7 @@ - + <c path="String"/>

Constructor

@:value({ isPlayer : false, character : "bf" })new(x:Float, y:Float, character:String = "bf", isPlayer:Bool = false)

Variables

animOffsets:Map<String, FlxPoint>

@:value(new FlxPoint(0, 0))cameraOffset:FlxPoint = new FlxPoint(0, 0)

@:value("bf")curCharacter:String = "bf"

@:value(4)dadVar:Float = 4

@:value(false)debugMode:Bool = false

@:value(new FlxPoint(0, 0))globalOffset:FlxPoint = new FlxPoint(0, 0)

@:value(null)icon:String = null

@:value(false)isGF:Bool = false

@:value(false)isPlayer:Bool = false

@:value(-5000)lastHit:Float = -5000

@:value(false)playerOffsets:Bool = false

@:value(false)stunned:Bool = false

Methods

@:value({ y : 0, x : 0 })addOffset(name:String, x:Float = 0, y:Float = 0):Void

beatHit(curBeat:Int):Void

dance():Void

FOR GF DANCING SHIT

inlinegetCameraPosition():FlxPoint

inlinegetIcon():String

@:value({ Frame : 0, Reversed : false, Force : false })playAnim(AnimName:String, Force:Bool = false, Reversed:Bool = false, Frame:Int = 0):Void

stepHit(curStep:Int):Void

switchOffset(anim1:String, anim2:String):Void

\ No newline at end of file +

Constructor

@:value({ isPlayer : false, character : "bf" })new(x:Float, y:Float, character:String = "bf", isPlayer:Bool = false)

Variables

animOffsets:Map<String, FlxPoint>

@:value(new FlxPoint(0, 0))cameraOffset:FlxPoint = new FlxPoint(0, 0)

@:value("bf")curCharacter:String = "bf"

@:value(false)debugMode:Bool = false

@:value(new FlxPoint(0, 0))globalOffset:FlxPoint = new FlxPoint(0, 0)

@:value(4)holdTime:Float = 4

@:value(null)icon:String = null

@:value(false)isGF:Bool = false

@:value(false)isPlayer:Bool = false

@:value(-5000)lastHit:Float = -5000

@:value(false)playerOffsets:Bool = false

@:value(false)stunned:Bool = false

Methods

@:value({ y : 0, x : 0 })addOffset(name:String, x:Float = 0, y:Float = 0):Void

beatHit(curBeat:Int):Void

dance():Void

FOR GF DANCING SHIT

inlinegetCameraPosition():FlxPoint

inlinegetIcon():String

@:value({ Context : NONE, Frame : 0, Reversed : false, Force : false })playAnim(AnimName:String, Force:Bool = false, Reversed:Bool = false, Frame:Int = 0, Context:PlayAnimContext = NONE):Void

@:value({ suffix : "" })playSingAnim(direction:Int, suffix:String = ""):Void

stepHit(curStep:Int):Void

switchOffset(anim1:String, anim2:String):Void

\ No newline at end of file diff --git a/pages/funkin/scripting/events/CancellableEvent.html b/pages/funkin/scripting/events/CancellableEvent.html index d55cc668..b1eb4093 100644 --- a/pages/funkin/scripting/events/CancellableEvent.html +++ b/pages/funkin/scripting/events/CancellableEvent.html @@ -7,7 +7,7 @@ float: none; text-shadow: 0 0 0 transparent; } -

Constructor

new()

Creates a new cancellable event. +

Constructor

new()

Creates a new cancellable event. This allows scripts to call cancel() to cancel the event.

Variables

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Methods

@:value({ c : true })preventDefault(c:Bool = true):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String

\ No newline at end of file diff --git a/pages/funkin/scripting/events/NoteHitEvent.html b/pages/funkin/scripting/events/NoteHitEvent.html index e38df826..b1aa4a07 100644 --- a/pages/funkin/scripting/events/NoteHitEvent.html +++ b/pages/funkin/scripting/events/NoteHitEvent.html @@ -7,6 +7,6 @@ float: none; text-shadow: 0 0 0 transparent; } -

Constructor

new(note:Note, character:Character, player:Bool, noteType:String, direction:Int)

Creates a new NoteHitEvent with the following values:

Parameters:

note
character
player
null

noteType

Variables

Methods

preventAnim():Void

Prevents the default sing animation from being played.

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : true })preventDefault(c:Bool = true):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: +

Constructor

new(note:Note, character:Character, player:Bool, noteType:String, direction:Int, healthGain:Float)

Creates a new NoteHitEvent.

Variables

character:Character

Character that pressed the note

direction:Int

Direction of the press (0 = Left, 1 = Down, 2 = Up, 3 = Right)

healthGain:Float

The amount of health that'll be gained from pressing that note.

note:Note

Note that has been pressed

noteType:String

Note Type name (null if default note)

player:Bool

Whenever the Character is the player

Methods

preventAnim():Void

Prevents the default sing animation from being played.

preventCamZooming():Void

Prevents the camera zoom every 4 beats from enabling.

preventDeletion():Void

Prevents the note from being deleted.

preventVocalsUnmute():Void

Prevents the vocals volume from being set to 1 after pressing the note.

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : true })preventDefault(c:Bool = true):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]

Returns:

String

\ No newline at end of file diff --git a/pages/funkin/scripting/events/PlayAnimContext.html b/pages/funkin/scripting/events/PlayAnimContext.html new file mode 100644 index 00000000..c71f3932 --- /dev/null +++ b/pages/funkin/scripting/events/PlayAnimContext.html @@ -0,0 +1,10 @@ + + + +funkin.scripting.events.PlayAnimContext

Contains all contexts possible for PlayAnimEvent.

Variables

@:value(cast "MISS")@:impl@:enuminlineread onlyMISS:PlayAnimContext = "MISS"

Whenever a note is missed and a miss animation will be played.

@:value(cast null)@:impl@:enuminlineread onlyNONE:PlayAnimContext = null

No context was given for the animation

@:value(cast "SING")@:impl@:enuminlineread onlySING:PlayAnimContext = "SING"

Whenever a note is hit and a sing animation will be played.

\ No newline at end of file diff --git a/pages/funkin/scripting/events/PlayAnimEvent.html b/pages/funkin/scripting/events/PlayAnimEvent.html new file mode 100644 index 00000000..bb929d7e --- /dev/null +++ b/pages/funkin/scripting/events/PlayAnimEvent.html @@ -0,0 +1,12 @@ + + + +funkin.scripting.events.PlayAnimEvent

Constructor

new(animName:String, force:Bool, reverse:Bool, startingFrame:Int)

Variables

animName:String

Name of the animation that's going to be played.

context:PlayAnimContext

Context of the animation

force:Bool

Whenever the animation will be forced or not.

reverse:Bool

Whenever the animation will play in reverse or not

@:value(0)startingFrame:Int = 0

The frame at which the animation will start playing

Inherited Variables

Defined by CancellableEvent

@:value({ })data:Dynamic = { }

Additional data if used in scripts

Inherited Methods

Defined by CancellableEvent

@:value({ c : true })preventDefault(c:Bool = true):Void

Prevents default action from occuring.

Parameters:

c

Whenever the scripts following this one should be called or not. (Defaults to true)

toString():String

Returns a string representation of the event, in this format: +[CancellableEvent] +[CancellableEvent (Cancelled)]

Returns:

String

\ No newline at end of file diff --git a/pages/funkin/scripting/events/index.html b/pages/funkin/scripting/events/index.html index d077ac99..c8c26972 100644 --- a/pages/funkin/scripting/events/index.html +++ b/pages/funkin/scripting/events/index.html @@ -7,4 +7,4 @@ float: none; text-shadow: 0 0 0 transparent; } -
\ No newline at end of file +

funkin.scripting.events

..
CancellableEvent

InputSystemEvent

NoteHitEvent

PlayAnimContext

Contains all contexts possible for PlayAnimEvent.

PlayAnimEvent

\ No newline at end of file diff --git a/pages/nav.js b/pages/nav.js index 2d0114fe..dc79cab4 100644 --- a/pages/nav.js +++ b/pages/nav.js @@ -1 +1 @@ -var navContent=''; \ No newline at end of file +var navContent=''; \ No newline at end of file diff --git a/source/funkin/game/Character.hx b/source/funkin/game/Character.hx index 059c517c..69e56f6c 100644 --- a/source/funkin/game/Character.hx +++ b/source/funkin/game/Character.hx @@ -17,8 +17,8 @@ import haxe.xml.Access; import haxe.Exception; import funkin.system.Conductor; -import funkin.events.PlayAnimEvent; -import funkin.events.PlayAnimEvent.PlayAnimContext; +import funkin.scripting.events.PlayAnimEvent; +import funkin.scripting.events.PlayAnimEvent.PlayAnimContext; using StringTools; class Character extends FlxSprite implements IBeatReceiver implements IOffsetCompatible @@ -356,7 +356,7 @@ class Character extends FlxSprite implements IBeatReceiver implements IOffsetCom if (event.cancelled || event.animName == null) return; - animation.play(event.animName, event.force, event.reversed, event.startingFrame); + animation.play(event.animName, event.force, event.reverse, event.startingFrame); var daOffset = animOffsets.get(event.animName); if (daOffset != null) diff --git a/source/funkin/scripting/events/PlayAnimEvent.hx b/source/funkin/scripting/events/PlayAnimEvent.hx index 76050b7a..7d027651 100644 --- a/source/funkin/scripting/events/PlayAnimEvent.hx +++ b/source/funkin/scripting/events/PlayAnimEvent.hx @@ -39,7 +39,7 @@ class PlayAnimEvent extends CancellableEvent { Contains all contexts possible for `PlayAnimEvent`. **/ @:enum -abstract PlayAnimContext(String) = { +abstract PlayAnimContext(String) { /** No context was given for the animation **/ diff --git a/source/scripting/PlayStateScript.hx b/source/scripting/PlayStateScript.hx index 059051b4..732bf6cd 100644 --- a/source/scripting/PlayStateScript.hx +++ b/source/scripting/PlayStateScript.hx @@ -5,7 +5,10 @@ import funkin.scripting.events.*; /** * Contains all callbacks you can add in modcharts and stage scripts. * + * + * * NOTE: In case you're scripting a stage, all sprites of that stage are directly accessible via their name. + * * Ex: If you added a `superCoolBG` element in your stage XML, you'll be able to access it via scripts by using `superCoolBG`. */ interface PlayStateScript {