Skip to content

Commit faa02dd

Browse files
authored
Merge branch 'develop' into outdatedstate
2 parents 16dcf27 + 9908f97 commit faa02dd

36 files changed

+710
-323
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,46 @@ title: 'Bug Report: [DESCRIBE YOUR BUG IN DETAIL HERE]'
55
labels: bug
66
---
77

8-
[weed]: <> (FILL THIS ISSUE THING OUT AS MUCH AS POSSIBLE)
9-
[weed]: <> (OR ELSE YOUR ISSUE WILL BE LESS LIKELY TO BE SOLVED!)
10-
[weed]: <> (DO NOT POST ABOUT ISSUES FROM OTHER FNF MOD ENGINES! I CANNOT AND PROBABLY WON'T SOLVE THOSE!)
11-
[weed]: <> (GO TO THEIR RESPECTIVE GITHUB ISSUES AND REPORT THEM THERE LOL!)
8+
<!-- FILL THIS ISSUE THING OUT AS MUCH AS POSSIBLE
9+
OR ELSE YOUR ISSUE WILL BE LESS LIKELY TO BE SOLVED!
1210
13-
[weed]: <> (ALSO MAKE SURE THAT YOU USE PROPER LABELS, IF YOU'RE RUNNING INTO COMPILER ISSUES, USE THE compiler issue LABEL!!!)
11+
Do not post about issues from other FNF mod engines!
12+
We cannot and probably won't solve those!
13+
You can hopefully go to their respective GitHub issues and report them there, thank you :)
1414
15-
#### Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.
16-
### If you are playing the game in a browser, what site are you playing it from?
15+
Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.
1716
18-
[weed]: <> (Put an X in the [ ] thingies to fill out checkbox!)
19-
[weed]: <> (something like [x] pretty much, don't screw up or you will look stupid)
17+
From Joel On Software:
2018
21-
- [ ] [Newgrounds](https://www.newgrounds.com/portal/view/770371)
22-
- [ ] [Itch.io](https://ninja-muffin24.itch.io/funkin)? Specify below
23-
- - [ ] Windows
24-
- - [ ] Mac
25-
- - [ ] Linux
19+
"It’s pretty easy to remember the rule for a good bug report. Every good bug report needs exactly three things.
2620
27-
### If you are playing the game in a browser, what browser are you using?
21+
1. Steps to reproduce,
22+
2. What you expected to see, and
23+
3. What you saw instead."
2824
29-
[weed]: <> (Again, put an x in the [ ] box!)
25+
-->
3026

31-
- [ ] Google Chrome (or chomium based like Brave, vivaldi, MS Edge)
32-
- [ ] Firefox
33-
- [ ] Safari
27+
## Describe the bug
28+
<!-- A clear and concise description of what the bug is. -->
3429

35-
## What version of the game are you using? Look in the bottom left corner of the main menu. (ex: 0.2.7, 0.2.1, shit like that)
30+
## To Reproduce
31+
<!-- Describe in DETAIL how to reproduce the bug/issue you are running into. -->
32+
## Expected behavior
33+
<!-- A clear and concise description of what you expected to happen. -->
3634

35+
## Screenshots/Video
36+
<!-- If applicable, add screenshots/video to help explain your problem.
37+
Remember to mark the area in the application thats impacted. -->
3738

38-
## Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
39+
## Desktop
40+
- OS:
41+
<!-- [e.g. Windows 10, 11, Mac, Linux Mint, Ubuntu, Arch (btw)] -->
42+
- Browser
43+
<!-- [e.g. chrome, safari, firefox, edge, operaGX] -->
44+
- Version:
45+
<!-- [e.g. 0.4.0, 0.3.3, this can be found in the bottom left corner of the main menu!] -->
3946

40-
## Please describe your issue. Provide extensive detail and images if possible.
47+
## Additional context
48+
<!-- Add any other context about the problem here. -->
4149

42-
43-
44-
## If your game is FROZEN and you're playing a web version, press F12 to open up browser dev window, and go to console, and copy-paste whatever red error you're getting
50+
<!-- If you're game is FROZEN and you're playing a web version, press F12 to open up browser dev window, and go to console, and copy-paste whatever red error you're getting -->

.github/ISSUE_TEMPLATE/compiling.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ All notable changes will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.1] - 2024-06-12
8+
### Added
9+
- Pressing ESCAPE on the title screen on desktop now exits the game, allowing you to exit the game while in fullscreen on desktop
10+
- Freeplay menu controls (favoriting and switching categories) are now rebindable from the Options menu, and now have default binds on controllers.
11+
### Changed
12+
- Highscores and ranks are now saved separately, which fixes the issue where people would overwrite their saves with higher scores,
13+
which would remove their rank if they had a lower one.
14+
- A-Bot speaker now reacts to the user's volume preference on desktop (thanks to [M7theguy for the issue report/suggestion](https://github.com/FunkinCrew/Funkin/issues/2744)!)
15+
- On Freeplay, heart icons are shifted to the right when you favorite a song that has no rank on it.
16+
- Only play `scrollMenu` sound effect when there's a real change on the freeplay menu ([thanks gamerbross for the PR!](https://github.com/FunkinCrew/Funkin/pull/2741))
17+
- Gave antialiasing to the edge of the dad graphic on Freeplay
18+
- Rearranged some controls in the controls menu
19+
- Made several chart revisions
20+
- Re-enabled custom camera events in Roses (Erect/Nightmare)
21+
- Tweaked the chart for Lit Up (Hard)
22+
- Corrected the difficulty ratings for M.I.L.F. (Easy/Normal/Hard)
23+
### Fixed
24+
- Fixed an issue in the controls menu where some control binds would overlap their names
25+
- Fixed crash when attempting to exit the gameover screen when also attempting to retry the song ([thanks DMMaster636 for the PR!](https://github.com/FunkinCrew/Funkin/pull/2709))
26+
- Fix botplay sustain release bug ([thanks Hundrec!](Fix botplay sustain release bug #2683))
27+
- Fix for the camera not pausing during a gameplay pause ([thanks gamerbross!](https://github.com/FunkinCrew/Funkin/pull/2684))
28+
- Fixed issue where Pico's gameplay sprite would unintentionally appear on the gameover screen when dying on 2Hot from an explosion
29+
- Freeplay previews properly fade volume during the BF idle animation
30+
- Fixed bug where Dadbattle incorrectly appeared as Dadbattle Erect when returning to freeplay on Hard
31+
- Fixed 2Hot not appearing under the "#" category in Freeplay menu
32+
- Fixed a bug where the Chart Editor would crash when attempting to select an event with the Event toolbox open
33+
- Improved offsets for Pico and Tankman opponents so they don't slide around as much.
34+
- Fixed the black "temp" graphic on freeplay from being incorrectly sized / masked, now it's identical to the dad freeplay graphic
35+
736
## [0.4.0] - 2024-06-06
837
### Added
938
- 2 new Erect remixes, Eggnog and Satin Panties. Check them out from the Freeplay menu!
@@ -32,11 +61,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3261
- Custom note styles are now properly supported for songs; add new notestyles via JSON, then select it for use from the Chart Editor Metadata toolbox. (thanks Keoiki!)
3362
- Health icons now support a Winning frame without requiring a spritesheet, simply include a third frame in the icon file. (thanks gamerbross!)
3463
- Remember that for more complex behaviors such as animations or transitions, you should use an XML file to define each frame.
64+
- Improved the Event Toolbox in the Chart Editor; dropdowns are now bigger, include search field, and display elements in alphabetical order rather than a random order.
3565
### Fixed
3666
- Fixed an issue where Nene's visualizer would not play on Desktop builds
3767
- Fixed a bug where the game would silently fail to load saves on HTML5
3868
- Fixed some bugs with the props on the Story Menu not bopping properly
39-
- Improved offsets for Pico and Tankman opponents so they don't slide around as much.
69+
- Additional fixes to the Loading bar on HTML5 (thanks lemz1!)
70+
- Fixed several bugs with the TitleState, including missing music when returning from the Main Menu (thanks gamerbross!)
71+
- Fixed a camera bug in the Main Menu (thanks richTrash21!)
72+
- Fixed a bug where changing difficulties in Story mode wouldn't update the score (thanks sectorA!)
73+
- Fixed a crash in Freeplay caused by a level referencing an invalid song (thanks gamerbross!)
74+
- Fixed a bug where pressing the volume keys would stop the Toy commercial (thanks gamerbross!)
75+
- Fixed a bug where the Chart Editor Playtest would crash when losing (thanks gamerbross!)
76+
- Fixed a bug where hold notes would display improperly in the Chart Editor when downscroll was enabled for gameplay (thanks gamerbross!)
77+
- Fixed a bug where hold notes would be positioned wrong on downscroll (thanks MaybeMaru!)
78+
- Removed a large number of unused imports to optimize builds (thanks Ethan-makes-music!)
79+
- Improved debug logging for unscripted stages (thanks gamerbross!)
80+
- Made improvements to compiling documentation (thanks gedehari!)
4081
- Fixed a crash on Linux caused by an old version of hxCodec (thanks Noobz4Life!)
4182
- Optimized animation handling for characters (thanks richTrash21!)
4283
- Made improvements to compiling documentation (thanks gedehari!)

Project.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://lime.openfl.org/project/1.0.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://lime.openfl.org/project/1.0.4 http://lime.openfl.org/xsd/project-1.0.4.xsd">
44
<!-- _________________________ Application Settings _________________________ -->
5-
<app title="Friday Night Funkin'" file="Funkin" packageName="com.funkin.fnf" package="com.funkin.fnf" main="Main" version="0.4.0" company="ninjamuffin99" />
5+
<app title="Friday Night Funkin'" file="Funkin" packageName="com.funkin.fnf" package="com.funkin.fnf" main="Main" version="0.4.1" company="ninjamuffin99" />
66
<!--Switch Export with Unique ApplicationID and Icon-->
77
<set name="APP_ID" value="0x0100f6c013bbc000" />
88

art

docs/COMPILING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222

2323
# Troubleshooting
2424

25-
- During the cloning process, you may experience an error along the lines of `error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)` due to poor connectivity. A common fix is to run ` git config --global http.postBuffer 4096M`.
25+
- During the cloning process, you may experience an error along the lines of `error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)` due to poor connectivity. A common fix is to run ` git config --global http.postBuffer 4096M`.
26+

source/funkin/audio/FunkinSound.hx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
227227
// already paused before we lost focus.
228228
if (_lostFocus && !_alreadyPaused)
229229
{
230-
trace('Resuming audio (${this._label}) on focus!');
230+
// trace('Resuming audio (${this._label}) on focus!');
231231
resume();
232232
}
233233
else
234234
{
235-
trace('Not resuming audio (${this._label}) on focus!');
235+
// trace('Not resuming audio (${this._label}) on focus!');
236236
}
237237
_lostFocus = false;
238238
}
@@ -242,7 +242,7 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
242242
*/
243243
override function onFocusLost():Void
244244
{
245-
trace('Focus lost, pausing audio!');
245+
// trace('Focus lost, pausing audio!');
246246
_lostFocus = true;
247247
_alreadyPaused = _paused;
248248
pause();

source/funkin/audio/visualize/ABotVis.hx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
5454
public function initAnalyzer()
5555
{
5656
@:privateAccess
57-
analyzer = new SpectralAnalyzer(snd._channel.__source, 7, 0.1, 30);
57+
analyzer = new SpectralAnalyzer(snd._channel.__source, 7, 0.1, 40);
5858

5959
#if desktop
6060
// On desktop it uses FFT stuff that isn't as optimized as the direct browser stuff we use on HTML5
6161
// So we want to manually change it!
62-
analyzer.fftN = 512;
62+
analyzer.fftN = 256;
6363
#end
6464

6565
// analyzer.maxDb = -35;
@@ -101,6 +101,10 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
101101
{
102102
var animFrame:Int = Math.round(levels[i].value * 5);
103103

104+
#if desktop
105+
animFrame = Math.round(animFrame * FlxG.sound.volume);
106+
#end
107+
104108
animFrame = Math.floor(Math.min(5, animFrame));
105109
animFrame = Math.floor(Math.max(0, animFrame));
106110

0 commit comments

Comments
 (0)