1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00
Commit graph

2553 commits

Author SHA1 Message Date
EliteMasterEric 98e6d4091e Revamp note kind handling in the chart editor. 2024-02-16 22:01:47 -05:00
Mike Welsh ef96bd4358 Fix variable name in MathUtils.smoothLerp 2024-02-16 17:22:55 -08:00
Cameron Taylor 516c5e8596 Merge pull request #329 from FunkinCrew/feature/screenshots
Implemented a screenshot button.
2024-02-16 19:31:53 -05:00
Cameron Taylor 0b58a4f664 camera flash fix 2024-02-16 18:58:27 -05:00
Cameron Taylor 928f941c2f Merge pull request #331 from FunkinCrew/bugfix/countdown-pause-music
Fix issue with incorrect music after pausing during countdown
2024-02-16 17:36:23 -05:00
Cameron Taylor 29e1c480fd unwrap openFolder from #if sys 2024-02-16 16:35:57 -05:00
EliteMasterEric e4cd694c15 ScreenshotPlugin now uses Player.controls. VolumePlugin is now outside MusicBeatState 2024-02-16 14:42:28 -05:00
EliteMasterEric 77ff261be1 Make functions non-inline so they work on HScript 2024-02-16 13:08:34 -05:00
Mike Welsh e90c37ad75 Fix issue with incorrect music after pausing during countdown
Whenever you pause gameplay, the `PlayState` pauses the music.
But if you start a song from the main menu, pause during the 3,2,1
countdown, and then unpause, the main menu music will incorrectly
start playing again due to `FlxG.sound.music` still referencing it
before the gameplay song starts playing.

Only restart the music if it was actually playing to begin with by
storing the play state in `PlayState.openSubState` when we pause.

This hopefully avoids any other cases where the pause state gets
pushed while the music is stopped.
2024-02-16 04:54:27 -08:00
Cameron Taylor 94938313dd click preview to open screenshots folder (and moved openFolder to FileUtil 2024-02-16 05:24:43 -05:00
Cameron Taylor 0036a334bc display fancy preview as a sprite on top of FlxG.stage, to properly render over substates 2024-02-16 04:48:54 -05:00
Cameron Taylor e19dfad641 Merge pull request #328 from FunkinCrew/EliteMasterEric-patch-1
Additional mathematical utilities.
2024-02-16 03:35:21 -05:00
Mike Welsh d6b3e2a9cf Fix FunkinSound not resuming after focus
`FunkingSound.onFocus` was checking `_shouldPlay` before resuming,
but this would always be false, causing the sound to not resume
when tabbing out and back into the game.
2024-02-16 00:08:33 -08:00
EliteMasterEric e24c78ae16 Implemented a screenshot button. FancyPreview is broken. 2024-02-15 21:34:24 -05:00
EliteMasterEric a9bcc492bc Update assets submodule 2024-02-15 17:26:10 -05:00
EliteMasterEric 72d623bdf6 Don't prettier format FlxAnimate JSONs 2024-02-15 17:26:02 -05:00
EliteMasterEric 5ec0939263 Bunch of changes to NoteScriptEvent and death logic 2024-02-15 17:25:28 -05:00
EliteMasterEric 04b73dac9f Always force debug version in VSCode. 2024-02-15 17:23:57 -05:00
EliteMasterEric c896300b63 NoteData stringifies nicer now. 2024-02-15 17:23:43 -05:00
Eric 10f4ad704e Additional mathematical utilities. 2024-02-15 14:17:44 -05:00
Cameron Taylor 15accdf10f Merge pull request #327 from FunkinCrew/bugfix/remove-hmm-dep
Remove `hmm` dependency to fix HTML5 target
2024-02-15 03:40:12 -05:00
Mike Welsh 91ab1cb520 Remove hmm dependency to fix HTML5 target
Remove the `hmm` haxelib dependency from the build.

Linking to `hmm` caused `utest` to be transitively linked, which
eventually caused OpenFL to act strangely and instatiate the
application twice on the HTML5 target.

`hmm` was only used for `HaxelibVersions.getLibraryVersions` macro
call. Instead, manually parse the `hmm.json` ourselves to avoid
the dependency. This fixes the HTML5 target.

`hmm` is still used for package management, but no longer linked
in to the build itself.
2024-02-15 00:23:24 -08:00
Cameron Taylor 41b54fe7cc Merge pull request #326 from FunkinCrew/docs/COMPILING-lime-setup 2024-02-14 19:46:51 -05:00
Mike Welsh ed2be8becf Add haxelib run lime setup to COMPILING.md 2024-02-14 16:34:04 -08:00
Cameron Taylor 390bcff459 Merge pull request #323 from FunkinCrew/feature/no-polymod-spam
If a Polymod function throws an error, disable it.
2024-02-14 07:04:19 -05:00
Cameron Taylor 432e0de2b9 assets submod 2024-02-14 06:57:11 -05:00
EliteMasterEric 9209bac02c Port improved AtlasSprite from char-select-rebase 2024-02-14 03:27:34 -05:00
Cameron Taylor c299aa00b9 Merge pull request #324 from FunkinCrew/bugfix/darnell-fix
Darnell voices fix
2024-02-14 00:23:57 -05:00
EliteMasterEric 2b5922635b Darnell voices fix 2024-02-13 21:56:33 -05:00
EliteMasterEric 5b20e00a7b Upgrade Polymod to no longer spam popups when the same function fails repeatedly. 2024-02-13 21:43:54 -05:00
Cameron Taylor b96232787a hide storymode menu characters if they dont exist for the level 2024-02-13 05:23:59 -05:00
Cameron Taylor cf01f8c0f3 Merge pull request #279 from FunkinCrew/feature/hashlink-hot-reload
Allow builds without hxCodec if using hashlink
2024-02-13 03:32:46 -05:00
Cameron Taylor 923f8f423e swag truthers we are BACK 2024-02-13 03:32:20 -05:00
EliteMasterEric bd4103fd11 Merge remote-tracking branch 'origin/rewrite/master' into feature/hashlink-hot-reload 2024-02-13 03:06:20 -05:00
EliteMasterEric e37fc09e89 Hashlink actually working! 2024-02-13 03:03:11 -05:00
Cameron Taylor 1c91eac47e Merge pull request #257 from FunkinCrew/rewrite/weekend-1-gameplay-shaderdev
Rewrite/weekend 1 gameplay shaderdev
2024-02-13 02:41:18 -05:00
Cameron Taylor 36da3c136b Merge branch 'rewrite/master' into rewrite/weekend-1-gameplay-shaderdev 2024-02-13 02:41:02 -05:00
EliteMasterEric fa4b896d9a Merge branch 'rewrite/master' into feature/hashlink-hot-reload 2024-02-13 02:23:14 -05:00
EliteMasterEric c4522fe177 Merge branch 'rewrite/master' into rewrite/weekend-1-gameplay-shaderdev 2024-02-13 02:17:06 -05:00
Eric 1aea96fecf Merge pull request #315 from FunkinCrew/docs/compiling.md
small compiling guide
2024-02-13 02:16:32 -05:00
Eric b2e489582b Merge branch 'rewrite/master' into docs/compiling.md 2024-02-13 02:16:16 -05:00
EliteMasterEric f7da12acbc Apparently the transition bug was TransitionableSubState's fault so kill it with fire. 2024-02-13 02:09:25 -05:00
EliteMasterEric f0b5ef4491 Rest in peace, SwagCamera. 2024-02-13 01:38:11 -05:00
Cameron Taylor 48bf486cdb Merge pull request #313 from FunkinCrew/bugfix/weekend-1-fixes
Fixes for Pico animations in Weekend 1
2024-02-13 01:33:42 -05:00
Cameron Taylor 5c2504da2a Merge branch 'rewrite/master' into bugfix/weekend-1-fixes 2024-02-13 01:33:31 -05:00
Cameron Taylor 30af25c8fc Merge pull request #318 from FunkinCrew/pico-retry-blood
pico death animation loop fix
2024-02-13 01:33:03 -05:00
Cameron Taylor c84ed63c99 Merge branch 'rewrite/master' into pico-retry-blood 2024-02-13 01:32:51 -05:00
Eric 0979bf5ab5 Merge pull request #321 from FunkinCrew/darnell-voice-separate
chart editor waveform fixes for single vocal audio files
2024-02-13 01:32:12 -05:00
Eric 0063e673bc Merge pull request #319 from FunkinCrew/prebuild
makes prebuild.hx actually run on prebuild
2024-02-13 01:31:34 -05:00
Eric f9eac4ebdb Merge branch 'rewrite/master' into pico-retry-blood 2024-02-13 01:28:27 -05:00