From b771fc747f07c3b98ccf72d2488dd08837b8360f Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Mon, 13 Feb 2023 13:28:42 +0100 Subject: [PATCH] ghost tapping option --- docs/doc.xml | 2080 ++++++++++------- pages/funkin/cutscenes/Cutscene.html | 4 +- pages/funkin/cutscenes/DialogueCutscene.html | 4 +- pages/funkin/cutscenes/ScriptedCutscene.html | 6 +- pages/funkin/cutscenes/VideoCutscene.html | 4 +- .../cutscenes/dialogue/DialogueBox.html | 2 +- .../cutscenes/dialogue/DialogueCharacter.html | 2 +- pages/funkin/cutscenes/index.html | 3 +- pages/funkin/desktop/DesktopMain.html | 2 +- pages/funkin/desktop/DesktopScreen.html | 10 + .../desktop/editors/CharacterEditor.html | 2 +- pages/funkin/desktop/index.html | 2 +- pages/funkin/editors/CharacterEditor.html | 2 +- pages/funkin/editors/ChartingState.html | 2 +- pages/funkin/game/Character.html | 2 +- pages/funkin/game/GameOverSubstate.html | 2 +- pages/funkin/game/PlayState.html | 5 +- .../funkin/game/PlayStateTransitionData.html | 10 + pages/funkin/game/Stage.html | 2 +- pages/funkin/game/StrumLine.html | 2 +- pages/funkin/game/index.html | 2 +- pages/funkin/index.html | 2 +- pages/funkin/interfaces/IBeatReceiver.html | 2 +- pages/funkin/macros/BuildCounterMacro.html | 5 +- pages/funkin/macros/index.html | 2 +- pages/funkin/menus/BetaWarningState.html | 2 +- pages/funkin/menus/FreeplayState.html | 2 +- pages/funkin/menus/GitarooPause.html | 2 +- pages/funkin/menus/MainMenuState.html | 2 +- pages/funkin/menus/ModSwitchMenu.html | 2 +- pages/funkin/menus/PauseSubState.html | 2 +- pages/funkin/menus/StoryMenuState.html | 2 +- pages/funkin/menus/TitleState.html | 2 +- .../funkin/menus/credits/CreditsCodename.html | 2 +- pages/funkin/menus/credits/CreditsMain.html | 2 +- pages/funkin/options/Options.html | 2 +- pages/funkin/options/OptionsMenu.html | 2 +- pages/funkin/options/OptionsScreen.html | 2 +- .../options/categories/BehaviourOptions.html | 2 +- .../options/categories/DebugOptions.html | 2 +- .../options/categories/GameplayOptions.html | 2 +- .../options/categories/MiscOptions.html | 2 +- .../keybinds/ChangeKeybindSubState.html | 2 +- .../options/keybinds/KeybindsOptions.html | 2 +- pages/funkin/scripting/GlobalScript.html | 2 +- pages/funkin/scripting/ModState.html | 2 +- pages/funkin/scripting/ModSubState.html | 2 +- .../scripting/events/CancellableEvent.html | 2 +- .../events/DiscordPresenceUpdateEvent.html | 12 + .../funkin/scripting/events/NoteHitEvent.html | 2 +- pages/funkin/scripting/events/index.html | 2 +- pages/funkin/system/Conductor.html | 2 +- pages/funkin/system/FunkinGame.html | 10 + pages/funkin/system/FunkinRatioScaleMode.html | 10 + pages/funkin/system/FunkinSprite.html | 2 +- pages/funkin/system/Main.html | 2 +- pages/funkin/system/MusicBeatGroup.html | 2 +- pages/funkin/system/MusicBeatState.html | 2 +- pages/funkin/system/MusicBeatSubstate.html | 2 +- pages/funkin/system/Paths.html | 2 +- pages/funkin/system/SwagSong.html | 2 +- .../system/framerate/AssetTreeInfo.html | 10 + .../system/framerate/CodenameBuildField.html | 10 + .../system/framerate/ConductorInfo.html | 10 + pages/funkin/system/framerate/Framerate.html | 10 + .../system/framerate/FramerateCategory.html | 10 + .../system/framerate/FramerateCounter.html | 10 + .../system/framerate/MemoryCounter.html | 10 + pages/funkin/system/framerate/SystemInfo.html | 10 + pages/funkin/system/framerate/index.html | 10 + pages/funkin/system/index.html | 4 +- pages/funkin/utils/CoolSfx.html | 10 + pages/funkin/utils/CoolUtil.html | 2 +- pages/funkin/utils/DiscordJson.html | 10 + pages/funkin/utils/DiscordUtil.html | 2 +- pages/funkin/utils/MemoryUtil.html | 2 +- pages/funkin/utils/index.html | 2 +- pages/nav.js | 2 +- source/funkin/options/Options.hx | 2 +- .../options/categories/GameplayOptions.hx | 4 + 80 files changed, 1469 insertions(+), 920 deletions(-) create mode 100644 pages/funkin/desktop/DesktopScreen.html create mode 100644 pages/funkin/game/PlayStateTransitionData.html create mode 100644 pages/funkin/scripting/events/DiscordPresenceUpdateEvent.html create mode 100644 pages/funkin/system/FunkinGame.html create mode 100644 pages/funkin/system/FunkinRatioScaleMode.html create mode 100644 pages/funkin/system/framerate/AssetTreeInfo.html create mode 100644 pages/funkin/system/framerate/CodenameBuildField.html create mode 100644 pages/funkin/system/framerate/ConductorInfo.html create mode 100644 pages/funkin/system/framerate/Framerate.html create mode 100644 pages/funkin/system/framerate/FramerateCategory.html create mode 100644 pages/funkin/system/framerate/FramerateCounter.html create mode 100644 pages/funkin/system/framerate/MemoryCounter.html create mode 100644 pages/funkin/system/framerate/SystemInfo.html create mode 100644 pages/funkin/system/framerate/index.html create mode 100644 pages/funkin/utils/CoolSfx.html create mode 100644 pages/funkin/utils/DiscordJson.html diff --git a/docs/doc.xml b/docs/doc.xml index fe850c35..acfc5cdb 100644 --- a/docs/doc.xml +++ b/docs/doc.xml @@ -12758,25 +12758,29 @@ - + + + + + 0 - + [] - + - + false @@ -12784,46 +12788,47 @@ hide - + 0 - <__threadCycle expr="0" line="117" static="1"> + <__threadCycle expr="0" line="120" static="1"> 0 - + - + - + - + - - - - - + + + + + + @@ -12866,22 +12871,22 @@ - + - + - + - + @@ -14708,7 +14713,7 @@ - + "__ASSET__:image___ASSET__flxanimate_images_pivot_png" @@ -14931,7 +14936,7 @@ - + "__ASSET__:file___ASSET__flixel_sounds_beep_ogg" @@ -14950,7 +14955,7 @@ - + "__ASSET__:file___ASSET__flixel_sounds_flixel_ogg" @@ -14969,7 +14974,7 @@ - + "__ASSET__:file___ASSET__flixel_sounds_type_ogg" @@ -15118,7 +15123,7 @@ - + "LIME_font___ASSET__flixel_fonts_nokiafc22_ttf" @@ -15134,7 +15139,7 @@ - + "LIME_font___ASSET__flixel_fonts_monsterrat_ttf" @@ -15150,7 +15155,7 @@ - + "__ASSET__:image___ASSET__flixel_images_ui_button_png" @@ -15174,7 +15179,7 @@ - + "__ASSET__:image___ASSET__flixel_images_logo_default_png" @@ -15198,7 +15203,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_box_png" @@ -15222,7 +15227,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_png" @@ -15246,7 +15251,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_down_png" @@ -15270,7 +15275,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_left_png" @@ -15294,7 +15299,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_right_png" @@ -15318,7 +15323,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_arrow_up_png" @@ -15342,7 +15347,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_thin_png" @@ -15366,7 +15371,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_button_toggle_png" @@ -15390,7 +15395,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_check_box_png" @@ -15414,7 +15419,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_check_mark_png" @@ -15438,7 +15443,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_png" @@ -15462,7 +15467,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_flat_png" @@ -15486,7 +15491,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_inset_png" @@ -15510,7 +15515,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_chrome_light_png" @@ -15534,7 +15539,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_dropdown_mark_png" @@ -15558,7 +15563,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_finger_big_png" @@ -15582,7 +15587,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_finger_small_png" @@ -15606,7 +15611,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_hilight_png" @@ -15630,7 +15635,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_invis_png" @@ -15654,7 +15659,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_minus_mark_png" @@ -15678,7 +15683,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_plus_mark_png" @@ -15702,7 +15707,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_radio_png" @@ -15726,7 +15731,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_radio_dot_png" @@ -15750,7 +15755,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_swatch_png" @@ -15774,7 +15779,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tab_png" @@ -15798,7 +15803,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tab_back_png" @@ -15822,7 +15827,7 @@ - + "__ASSET__:image___ASSET__flixel_flixel_ui_img_tooltip_arrow_png" @@ -15846,7 +15851,7 @@ - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_defaults_xml" @@ -15865,7 +15870,7 @@ - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_default_loading_screen_xml" @@ -15884,7 +15889,7 @@ - + "__ASSET__:file___ASSET__flixel_flixel_ui_xml_default_popup_xml" @@ -15903,7 +15908,7 @@ - + "__ASSET__:file___ASSET__manifest_assets_json" @@ -15922,7 +15927,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() @@ -15932,7 +15937,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() lime._internal.macros.AssetsMacro.embedFont() @@ -16111,7 +16116,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -16123,7 +16128,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -16135,7 +16140,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -16147,7 +16152,7 @@ - + lime._internal.macros.AssetsMacro.embedFont() @@ -69112,9 +69117,9 @@ - <__touch get="inline" set="null" expr=""1.674393958e+012"" line="22" static="1"> + <__touch get="inline" set="null" expr=""1.675954655e+012"" line="22" static="1"> - "1.674393958e+012" + "1.675954655e+012" @@ -71175,7 +71180,7 @@ * @param Key Force the cache to use a specific Key to index the bitmap. * @return The FlxGraphic we just created. - + @@ -71185,7 +71190,7 @@ * @param graphic FlxGraphic to store in the cache. * @return cached FlxGraphic object. - + @@ -71194,7 +71199,7 @@ * @param key Key for FlxGraphic object (its name) * @return FlxGraphic with the key name, or null if there is no such object - + @@ -71204,7 +71209,7 @@ * @param bmd BitmapData to find in cache * @return BitmapData's key or null if there isn't such BitmapData in cache - + @@ -71214,7 +71219,7 @@ * @param source BitmapData source class. * @return Full name for provided class. - + @@ -71229,7 +71234,7 @@ * @param unique Whether generated key should be unique or not. * @return Created key. - + @@ -71239,7 +71244,7 @@ * @param baseKey key's prefix * @return unique key - + @@ -71257,7 +71262,7 @@ * @param region region of image to use as spritesheet graphics source * @return Generated key for spritesheet with inserted spaces between tiles - + @@ -71265,7 +71270,7 @@ * Totally removes specified FlxGraphic object. * @param FlxGraphic object you want to remove and destroy. - + @@ -71273,34 +71278,34 @@ * Totally removes FlxGraphic object with specified key. * @param key the key for cached FlxGraphic object. - + - + * Clears image cache (and destroys those images). * Graphics object will be removed and destroyed only if it shouldn't persist in the cache and its useCount is 0. - + * Maps the entire cache as destroyable, aka must be cleared. - + - + * Completely resets bitmap cache, which means destroying ALL of the cached FlxGraphic objects. - + * Removes all unused graphics from cache, * but skips graphics which should persist in cache and shouldn't be destroyed on no use. - - + + * Internal storage system to prevent graphics from being used repeatedly in memory. * @@ -73223,42 +73228,42 @@ * 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 + true <__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. - - + + @@ -73290,7 +73295,6 @@ * It is basically only used to create your game object in the first place, * after that `FlxG` and `FlxState` have all the useful stuff you actually need. - openfl.utils._internal.AssetsMacro.initBinding() openfl.utils._internal.AssetsMacro.initBinding() hscript.UsingHandler.build() @@ -86059,20 +86063,20 @@ - + - + - + - - + + @@ -86984,11 +86988,11 @@ * Clean up memory - + * Draw the caret in addition to the text. - + @@ -86996,29 +87000,29 @@ * Helper function that makes sure sprites are drawn up even though they haven't been added. * @param Sprite The Sprite to be drawn. - + * Check for mouse input every tick. - + - + * Handles keypresses generated on the stage. - + - + @@ -87032,34 +87036,34 @@ * @param Index The index to insert at * @return Returns the joined string for chaining. - + * Gets the index of the character in this box under the mouse cursor * @return The index of the character. * between 0 and the length of the text - + - + - + - + - + * Called every time the text is changed (for both flash/cpp) to update scrolling, etc - + @@ -87069,14 +87073,14 @@ * * @param RunOnCpp Whether the frame should also be recalculated if we're on a non-flash target - + * Turns the caret on/off for the caret flashing animation. - + @@ -87084,61 +87088,61 @@ * Checks an input string against the current * filter and returns a filtered string - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + @@ -135240,6 +135244,10 @@ + + + + @@ -135269,6 +135277,10 @@ * Current beat + + + * Current beat + * Current step, as a `Float` (ex: 4.94, instead of 4) @@ -135277,15 +135289,21 @@ * Current beat, as a `Float` (ex: 1.24, instead of 1) + + + * Current beat, as a `Float` (ex: 1.24, instead of 1) + * Current song position (in milliseconds). - - - - - + + + + + + + * Current injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: "data/states/PauseMenuSubstate.hx") @@ -135310,47 +135328,54 @@ * Game Controls (Player 2 only) - - - - - + + + + + - - - - + + + + - + - + - + hide - + hide - + + + + + + hide + + @@ -135365,26 +135390,26 @@ * @param ratio Ratio * @param fpsSensitive Whenever the ratio should not be adjusted to run at the same speed independent of framerate. - + * SCRIPTING STUFF - + - - + + - - - + + + @@ -135400,15 +135425,16 @@ PlayState.instance - + - - + + + * Substate made for cutscenes. @@ -135432,18 +135458,19 @@ - - + + - - - + + + + * Substate made for dialogue cutscenes. To use it in a scripted cutscene, call `startDialogue`. @@ -135502,39 +135529,41 @@ - - + + - + - + - - + + - - + + - - + + + * Substate made for scripted cutscenes. + * To add cutscenes to your songs, add a `cutscene.hx` file in your song's directory (ex: `songs/song/cutscene.hx`) @@ -135544,17 +135573,18 @@ - - + + - - + + + * Substate made for video cutscenes. To use it in a scripted cutscene, call `startVideo`. @@ -135624,39 +135654,43 @@ - + + + + + - + - + - + - - - - <__shouldDoScaleProcedure get="inline" set="null" line="174"> + + + + <__shouldDoScaleProcedure get="inline" set="null" line="175"> <__oldScale> <__skipZoomProcedure expr="false"> false - <__doPreZoomScaleProcedure set="method" line="179"> + <__doPreZoomScaleProcedure set="method" line="180"> - <__doPostZoomScaleProcedure set="method" line="188"> + <__doPostZoomScaleProcedure set="method" line="189"> @@ -135664,7 +135698,7 @@ ()]]> - + @@ -135673,7 +135707,7 @@ { y : 0, x : 0 } - + @@ -135682,7 +135716,7 @@ DANCE - + @@ -135693,16 +135727,16 @@ { Frame : 0, Reversed : false, Context : NONE, Force : false } - + - + - - + + @@ -135849,56 +135883,9 @@ - - - - - - - - - - [] - - - - 0 - - - - true - - - - "spooky" - - - - - - - - - { pushList : true } - - - - - - - - - - - - { daAnim : "spooky" } - - *DEBUG MODE - - 0 @@ -135920,6 +135907,10 @@ * Current beat + + + * Current beat + * Current step, as a `Float` (ex: 4.94, instead of 4) @@ -135928,15 +135919,21 @@ * Current beat, as a `Float` (ex: 1.24, instead of 1) + + + * Current beat, as a `Float` (ex: 1.24, instead of 1) + * Current song position (in milliseconds). - - - - - + + + + + + + * Game Controls. (All players / Solo) @@ -135961,46 +135958,53 @@ null - - - - - + + + + + - - - + + + - + - + - + hide - + hide - + + + + + + hide + + @@ -136015,27 +136019,27 @@ * @param ratio Ratio * @param fpsSensitive Whenever the ratio should not be adjusted to run at the same speed independent of framerate. - + * SCRIPTING STUFF - + - - - + + + - - - + + + @@ -136060,15 +136064,15 @@ - + - + - + @@ -136081,18 +136085,18 @@ - + - - - - + + + + - + @@ -136133,8 +136137,8 @@ false - - + + @@ -136143,18 +136147,18 @@ - + - + - + @@ -136162,6 +136166,27 @@ + + + + + [] + + + + + + + <__onPreDraw get="inline" set="null" line="37"> + <__onPostDraw get="inline" set="null" line="38"> + + + + + + + + @@ -136315,6 +136340,12 @@ + + + * SILHOUETTES + + + * ANIMATION TAB @@ -136338,20 +136369,20 @@ - - - - - + + + + + - - + + - + @@ -136359,16 +136390,22 @@ { updateListAsWell : false } - + - + * =========== CONTEXT MENU OPTIONS =========== - + + + + * Silhouettes + + + @@ -137623,15 +137660,16 @@ - + + - { Frame : 0, Reversed : false, Context : SING, suffix : "" } + { Frame : 0, Reversed : false, Force : true, Context : SING, suffix : "" } <__baseFlipped expr="false"> @@ -137725,6 +137763,7 @@ + @@ -137735,12 +137774,12 @@ 0 - - + + - + @@ -137748,18 +137787,19 @@ false - - - + + + + - { retrySFX : "gameOverEnd", lossSFX : "gameOverSFX", gameOverSong : "gameOver", character : "bf-dead" } + { retrySFX : "gameOverEnd", lossSFX : "gameOverSFX", gameOverSong : "gameOver", player : true, character : "bf-dead" } @@ -138153,7 +138193,7 @@ - + null * Current PlayState instance. @@ -138162,51 +138202,51 @@ * SONG METADATA - + false * Whenever the song is being played in Story Mode. - + null * The week data of the current week - + [] * The remaining songs in the Story Mode playlist. - + "normal" * The selected difficulty name - + false * Whenever the week is coming from the mods folder or not. - + false * Whenever the song has been started with opponent mode on. - + false // * Whenever the song has been started with co-op mode on. - - + + * Previous cam follow. - - + + 0 * Score for the current week. - + 6 * Zoom for the pixel assets. @@ -138244,6 +138284,11 @@ * Whenever the player can die. + + + Options.ghostTapping + * Whenever Ghost Tapping is enabled. + @@ -138259,14 +138304,14 @@ * Whenever the game is in downscroll or not. (Can be set) - + hide - + hide @@ -138395,9 +138440,9 @@ 0 * Current combo. - + - false + !Options.ghostTapping * Whenever the misses should show "Combo Breaks" instead of "Misses" @@ -138577,8 +138622,8 @@ hide - - + + @@ -138595,36 +138640,69 @@ "" - - - + + + * Updates the rating. + + + - - - - - - - + + + hide + + + + hide + + + + * Function used to update Discord Presence. + * This function is dynamic, which means you can do `updateDiscordPresence = function() {}` in scripts. + + + + + + + + + { prefix : "" } + * Starts a cutscene. + * @param prefix Custom prefix. Using `midsong-` will require you to for example rename your video cutscene to `songs/song/midsong-cutscene.mp4` instead of `songs/song/cutscene.mp4` + * @param cutsceneScriptPath Optional: Custom script path. + * @param callback Callback called after the cutscene ended. If equals to `null`, `startCountdown` will be called. + + + + hide + + * Creates a fake countdown. - - - + + + hide + + + - - - - - + + + + + + hide + + @@ -138632,18 +138710,33 @@ { addAsDefaultIfUnknown : false } - - - - - - - - - - - - + + + + + + + hide + + + + hide + + + + + + + hide + + + + hide + + + + * Returns the Discord RPC icon. + <__songPlaying expr="false"> false @@ -138652,15 +138745,33 @@ false - - - - - - - - - + + + hide + + + + hide + + + + hide + + + + hide + + + + * Pauses the game. + + + + + + + hide + <__updateNote_strum expr="null"> null @@ -138669,28 +138780,43 @@ null - - - - - - - - - - - - - + + + + + + hide + + + + + + + + + + + * Forces a game over. + * @param character Character which died. Default to `boyfriend`. + * @param deathCharID Character ID (name) for game over. Default to whatever is specified in the character's XML. + * @param gameOverSong Song for the game over screen. Default to `this.gameOverSong` (`gameOver`) + * @param lossSFX SFX at the beginning of the game over (Mic drop). Default to `this.lossSFX` (`gameOverSFX`) + * @param retrySFX SFX played whenever the player retries. Defaults to `retrySFX` (`gameOverEnd`) + + + + * Ends the song. + + + + * Immediately switches to the next song, or goes back to the Story/Freeplay menu. + <__funcsToExec expr="[]"> - - [] - - + [] <__pressed expr="[]"> @@ -138704,50 +138830,82 @@ [] - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + * Misses a note + * @param note Note to miss. + * @param direction Specify a custom direction in case note is null. + * @param player Specify a custom player in case note is null. + + + + + + + hide + + + + + + + * Hits a note + * @param note Note to hit. + + + + + + + * Deletes a note. + * @param note Note to delete + + + + + + + hide + + + + + + + hide + + + + + + + hide + + + - - + + - + - + - + @@ -138761,7 +138919,7 @@ - + @@ -138769,6 +138927,14 @@ + + + + + + + + @@ -138836,7 +139002,7 @@ - + @@ -138855,14 +139021,18 @@ - + - + + + + + @@ -138975,29 +139145,42 @@ null * Controls assigned to this strumline. + + + + false + + + * Whenever Ghost Tapping is enabled. + + + + + + 0.25 - + - + { amount : 4 } - + - + @@ -139299,7 +139482,9 @@ - + * Macro that loads the current build number from `buildnumber.txt`, then make it available as an integer. + * + * `buildnumber.txt` is automatically incremented when the engine is launched with `lime test windows`. @@ -139421,15 +139606,15 @@ null * Path to the currently playing song instrumental. - + - + * Selects the current song. - + @@ -139445,7 +139630,7 @@ ["[TAB] Solo", "[TAB] Opponent Mode", "[TAB] Co-Op Mode", "[TAB] Co-Op Mode (Switched)"] * Array containing all labels for Co-Op / Opponent modes. - + @@ -139456,7 +139641,7 @@ * @param change How much to change * @param force Force the change, even if `change` is equal to 0. - + @@ -139467,7 +139652,7 @@ * @param change How much to change * @param force Force the change, even if `change` is equal to 0. - + @@ -139476,7 +139661,7 @@ - + false @@ -139485,7 +139670,7 @@ [] - <_addJSONSongs set="method" line="381"> + <_addJSONSongs set="method" line="379"> @@ -139493,11 +139678,11 @@ { source : false } - + - + @@ -139552,7 +139737,7 @@ false - + @@ -139608,12 +139793,12 @@ - + - - + + @@ -139643,7 +139828,7 @@ - + @@ -139765,8 +139950,8 @@ - - + + @@ -139778,7 +139963,7 @@ null - + @@ -139786,10 +139971,10 @@ { force : false } - - - - + + + + @@ -139825,11 +140010,11 @@ null - + - + @@ -139845,16 +140030,16 @@ false - + 0 - + - + @@ -140043,16 +140228,16 @@ - + - - + + - + * Direct replica from Week 7 lol @@ -140164,11 +140349,11 @@ * Switches mod - unloads all the other mods, then load this one. * @param libName - + - + @@ -140176,7 +140361,7 @@ { force : false } - + @@ -140185,7 +140370,7 @@ { force : false } - + @@ -140194,7 +140379,7 @@ { force : false } - + @@ -140660,7 +140845,7 @@ { isLocalCache : false } - <__parseAsset set="method" line="143"> + <__parseAsset set="method" line="153"> @@ -140750,67 +140935,6 @@ - - - - [] - - - - - - - - - - - - - - - - - - - - - - - - - new BitmapFrontEnd() - - - - new FlxPoint(FlxG.width, FlxG.height) - - - - - - - - - - - - - - <__enterFrame public="1" set="method" line="132" override="1"> - - - - - - - - - - - openfl.utils._internal.AssetsMacro.initBinding() - openfl.utils._internal.AssetsMacro.initBinding() - - <__save public="1" static="1"> @@ -140832,149 +140956,153 @@ false - + + + false + + true - + true - + true - + true - + true - + 1 - + true - + false - + 250 - + null - + [A] * PLAYER 1 CONTROLS - + [S] - + [W] - + [D] - + [A] - + [S] - + [W] - + [D] - + [ENTER] - + [BACKSPACE] - + [ENTER] - + [R] - + [TAB] - + [LEFT] * PLAYER 2 CONTROLS (ALT) - + [DOWN] - + [UP] - + [RIGHT] - + [LEFT] - + [DOWN] - + [UP] - + [RIGHT] - + [SPACE] - + [ESCAPE] - + [ESCAPE] - + [] - + [] @@ -140994,23 +141122,23 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + funkin.macros.OptionsMacro.build() @@ -141241,7 +141369,7 @@ - + @@ -141527,21 +141655,26 @@ - - + + + + + + + - + - + - + @@ -141995,6 +142128,23 @@ funkin.macros.EventMacro.build() + + + + + * Object containing all of the data for the presence. Can be altered. + + + + + + + + + funkin.macros.EventMacro.build() + funkin.macros.EventMacro.build() + + @@ -142304,69 +142454,74 @@ true * Whenever antialiasing should be enabled on ratings. - + + + true + * Whenever the animation should be forced to play. + + * Prevents the default sing animation from being played. - + hide - + * Prevents the note from being deleted. - + hide - + * Prevents the vocals volume from being set to 1 after pressing the note. - + hide - + * Prevents the vocals volume from being muted in case its a parameter of `onPlayerMiss` - + hide - + * Prevents the camera zoom every 4 beats from enabling. - + hide - + * Prevents the sustain tail (the last one) from being automatically hit when the sustain before it is hit. - + hide - + * Prevents the strum from glowing after this note has been pressed. - + hide - - + + - + @@ -142387,9 +142542,10 @@ + - { ratingAntialiasing : true, ratingScale : 0.7, numAntialiasing : true, numScale : 0.5, showSplash : false, rating : "sick", showRating : null, countAsCombo : true, misses : true } + { forceAnim : true, ratingAntialiasing : true, ratingScale : 0.7, numAntialiasing : true, numScale : 0.5, showSplash : false, rating : "sick", showRating : null, countAsCombo : true, misses : true } @@ -143113,27 +143269,27 @@ { source : BOTH } - + - + - - + + - + - + @@ -143148,7 +143304,7 @@ - + cast true @@ -143156,7 +143312,7 @@ - + cast false @@ -143164,7 +143320,7 @@ - + cast null @@ -143176,7 +143332,7 @@ - + cast true @@ -143184,7 +143340,7 @@ - + cast false @@ -143192,7 +143348,7 @@ - + cast null @@ -143277,66 +143433,86 @@ crochet / 4 * Current StepCrochet (time per step), in milliseconds. + + + 4 + * Number of beats per mesure (top number in time signature). Defaults to 4. + + + + 4 + * Number of steps per beat (bottom number in time signature). Defaults to 4. + * Current position of the song, in milliseconds. - + 0 * Current step - + 0 * Current beat - + + + 0 + * Current measure + + 0 * Current step, as a `Float` (ex: 4.94, instead of 4) - + 0 * Current beat, as a `Float` (ex: 1.24, instead of 1) - + + + 0 + * Current measure, as a `Float` (ex: 1.24, instead of 1) + + 0 hide - + 0 hide - + 0 hide - + 0 hide - + 0 hide - + [] * Array of all BPM changes that have been mapped. @@ -143345,16 +143521,16 @@ * Thread for multi-threaded audio syncing. - + null - - + + - + @@ -143363,24 +143539,32 @@ * @param song Song to map BPM changes from. - + <__timeUntilUpdate static="1"> <__elapsedAL static="1"> - <__updateSongPos set="method" line="167" static="1"> + <__updateSongPos set="method" line="187" static="1"> - + - - - - - - + <__lastChange static="1"> + <__updateBeat static="1"> + <__updateMeasure static="1"> + + + + + + + + + { stepsPerBeat : 4, beatsPerMesure : 4 } + + hide @@ -144430,46 +144614,70 @@ - - - - - true - - - - true - - - - true - - + + + false - * Press F3 to enable - - - - 0 - - - - 0 - - <__enterFrame public="1" set="method" line="57" override="1"> - + + + + - - - - - - - - - { color : 0x000000, y : 10, x : 10 } - + + + + + + + + + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + + + + null + + + + + + + null + + + + + + + + + + + + + + + + + + + + + + + @@ -144710,6 +144918,10 @@ + + + + @@ -144748,7 +144960,11 @@ - + + + + + @@ -144756,16 +144972,16 @@ { library : "default" } - + - + - + @@ -144774,54 +144990,54 @@ { type : TEXT } - + - + - + - + - + - + - + - + - + - + @@ -144829,7 +145045,7 @@ { difficulty : "normal" } - + @@ -144837,7 +145053,7 @@ { difficulty : "normal" } - + @@ -144846,7 +145062,7 @@ { checkForAtlas : false } - - + @@ -144863,54 +145079,54 @@ { difficulty : "normal" } - + - + - + - + - + - + - + - + - + - + - + - + @@ -144919,7 +145135,7 @@ { source : BOTH, addPath : false } - + @@ -144944,6 +145160,10 @@ + + + + @@ -144958,9 +145178,13 @@ + + + + - + @@ -144968,12 +145192,171 @@ { difficulty : "normal" } - + + + + + + + <_text expr=""""> + + "" + + <__enterFrame public="1" set="method" line="45" override="1"> + + + + + + + + + + { text : "" } + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + <__enterFrame public="1" set="method" line="12" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + + + + + + <__enterFrame public="1" set="method" line="10" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + + + + + + + + "${Sys.getEnv(\"windir\")}\\Fonts\\consola.ttf" + + + + false + + + + + [] + + <__addCategory set="method" line="67"> + + + + <__lastAddedSprite expr="null"> + + null + + <__addToList set="method" line="72"> + + + + + + 0 + + <__enterFrame public="1" set="method" line="81" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + + + + + 0 + + <__enterFrame public="1" set="method" line="30" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + + + + + 0 + + + + 0 + + <__enterFrame public="1" set="method" line="33" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + + + + <__enterFrame public="1" set="method" line="11" override="1"> + + + + + + + openfl.utils._internal.AssetsMacro.initBinding() + openfl.utils._internal.AssetsMacro.initBinding() + + @@ -145125,49 +145508,49 @@ - + - + - + - + - + - + - + - + - + - + @@ -145182,7 +145565,7 @@ * @param ratio Ratio * @param fpsSensitive Whenever the ratio should be fps sensitive (adapted when game is running at 120 instead of 60) - + @@ -145191,7 +145574,7 @@ * @param ratio Ratio * @return FPS-Modified Ratio - + @@ -145200,19 +145583,19 @@ * @param c `Dynamic` color. * @return The result color, or `null` if invalid. - + { fadeIn : false } - + - + @@ -145223,22 +145606,22 @@ { Looped : true, Volume : 1, DefaultBPM : 102 } - - - + + + - { volume : 1, menuSFX : 0 } + { volume : 1, menuSFX : SCROLL } * Plays a specified Menu SFX. * @param menuSFX Menu SFX to play * @param volume At which volume it should play - + - + @@ -145246,12 +145629,12 @@ { min : 0 } - + - + @@ -145262,11 +145645,11 @@ { maxScale : 0, fill : true } - + - + @@ -145275,7 +145658,7 @@ { axes : XY } - + @@ -145283,7 +145666,7 @@ { difficulty : "normal" } - + @@ -145293,23 +145676,23 @@ { coopMode : false, opponentMode : false, difficulty : "normal" } - <__loadSong public="1" set="method" line="279" static="1"> + <__loadSong public="1" set="method" line="294" static="1"> - + - + - + @@ -145319,100 +145702,172 @@ { SkipAtlasCheck : false, Key : null, Unique : false } - + - + - + - + * Gets the macro class created by hscript-improved for an abstract / enum - + * Clears the content of an array - + - + + + funkin.game.PlayState + + + + + + + + + + + cast 0 + + + + + + + + cast 1 + + + + + + + + cast 2 + + + + + + + + + + + + cast 0 + + + + + + + + cast 1 + + + + + + + + cast 2 + + + + + - + null - + null - + false - - - "1027994136193810442" - * CHANGE SETTINGS HERE FOR CUSTOM DISCORD RPC ON SOURCE - - - - "icon" - - - + + + null + + + + - + - + - + - - + + - + + + + + + + + + + + + + + + @@ -145493,22 +145948,28 @@ - - - - - - - <_nb expr="0" line="58" static="1"> + + + 0 + + + + + + + + + + <_nb expr="0" line="73" static="1"> 0 - <_nbD expr="0" line="59" static="1"> + <_nbD expr="0" line="74" static="1"> 0 <_zombie static="1"> - + @@ -259844,89 +260305,6 @@ "checkstyle:FieldDocComment" - - - - 0 - - - - 0 - - - - - - - "tags=\"haxe,release\"" - - "checkstyle:FieldDocComment" - - - - - - new DrawCallCounter(), DrawCallContext.STAGE3D => new DrawCallCounter()]]]> - - - - - - - - - - - - - "tags=\"haxe,release\"" - - "checkstyle:FieldDocComment" - - - - - - - - - - - cast 0 - - - - - - - - cast 1 - - - - - - - - - - - - cast 0 - - - - - - - - cast 1 - - - - - - diff --git a/pages/funkin/cutscenes/Cutscene.html b/pages/funkin/cutscenes/Cutscene.html index 01b10cc6..2eade90c 100644 --- a/pages/funkin/cutscenes/Cutscene.html +++ b/pages/funkin/cutscenes/Cutscene.html @@ -1,10 +1,10 @@ -funkin.cutscenes.CutsceneAPI Documentationclass Cutscenepackage funkin.cutscenesextends MusicBeatSubstate extended by DialogueCutscene, ScriptedCutscene, VideoCutsceneConstructornew(callback:() ‑> Void)Methods Inherited Variables Defined by MusicBeatSubstateread onlycontrols:ControlsGame Controls. (All players / Solo)read onlycontrolsP1:ControlsGame Controls (Player 1 only)read onlycontrolsP2:ControlsGame Controls (Player 2 only)read onlycurBeat:IntCurrent beatread onlycurBeatFloat:FloatCurrent beat, as a Float (ex: 1.24, instead of 1)read onlycurStep:IntCurrent stepread onlycurStepFloat:FloatCurrent step, as a Float (ex: 4.94, instead of 4)@:value(null)scriptName:String = null@:value(true)scriptsAllowed:Bool = trueread onlysongPos:FloatCurrent song position (in milliseconds).stateScript:ScriptCurrent injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: "data/states/PauseMenuSubstate.hx")Inherited Methods Defined by MusicBeatSubstatecall(name:String, ?args:Array<Dynamic>, ?defaultVal:Dynamic):Dynamicevent<T>(name:String, event:T):T@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):FloatShortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitiveParameters:v1Value 1v2Value 2ratioRatiofpsSensitiveWhenever the ratio should not be adjusted to run at the same speed independent of framerate.openSubState(subState:FlxSubState):VoidSCRIPTING STUFF \ No newline at end of file +API Documentationclass Cutscenepackage funkin.cutscenesextends MusicBeatSubstate extended by DialogueCutscene, ScriptedCutscene, VideoCutsceneSubstate made for cutscenes.Constructornew(callback:() ‑> Void)Methods Inherited Variables Defined by MusicBeatSubstateread onlycontrols:ControlsGame Controls. (All players / Solo)read onlycontrolsP1:ControlsGame Controls (Player 1 only)read onlycontrolsP2:ControlsGame Controls (Player 2 only)read onlycurBeat:IntCurrent beatread onlycurBeatFloat:FloatCurrent beat, as a Float (ex: 1.24, instead of 1)read onlycurMeasure:IntCurrent beatread onlycurMeasureFloat:FloatCurrent beat, as a Float (ex: 1.24, instead of 1)read onlycurStep:IntCurrent stepread onlycurStepFloat:FloatCurrent step, as a Float (ex: 4.94, instead of 4)@:value(null)scriptName:String = null@:value(true)scriptsAllowed:Bool = trueread onlysongPos:FloatCurrent song position (in milliseconds).stateScript:ScriptCurrent injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: "data/states/PauseMenuSubstate.hx")Inherited Methods Defined by MusicBeatSubstatecall(name:String, ?args:Array<Dynamic>, ?defaultVal:Dynamic):Dynamicevent<T>(name:String, event:T):T@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):FloatShortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitiveParameters:v1Value 1v2Value 2ratioRatiofpsSensitiveWhenever the ratio should not be adjusted to run at the same speed independent of framerate.openSubState(subState:FlxSubState):VoidSCRIPTING STUFF
new(callback:() ‑> Void)
read onlycontrols:Controls
Game Controls. (All players / Solo)
read onlycontrolsP1:Controls
Game Controls (Player 1 only)
read onlycontrolsP2:Controls
Game Controls (Player 2 only)
read onlycurBeat:Int
Current beat
read onlycurBeatFloat:Float
Current beat, as a Float (ex: 1.24, instead of 1)
Float
read onlycurStep:Int
Current step
read onlycurStepFloat:Float
Current step, as a Float (ex: 4.94, instead of 4)
@:value(null)scriptName:String = null
@:value(true)scriptsAllowed:Bool = true
read onlysongPos:Float
Current song position (in milliseconds).
stateScript:Script
Current injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: "data/states/PauseMenuSubstate.hx")
call(name:String, ?args:Array<Dynamic>, ?defaultVal:Dynamic):Dynamic
event<T>(name:String, event:T):T
@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):Float
Shortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitive
FlxMath.lerp
CoolUtil.lerp
fpsSensitive
Parameters:
v1
Value 1
v2
Value 2
ratio
Ratio
Whenever the ratio should not be adjusted to run at the same speed independent of framerate.
openSubState(subState:FlxSubState):Void
SCRIPTING STUFF
Substate made for cutscenes.
read onlycurMeasure:Int
read onlycurMeasureFloat:Float