-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[BUGFIX] Make strumline backgrounds no longer layer over UI elements #5152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This makes the health bar go above the arrows, which inadvertently makes them harder to see. The solution is to make the health bar ABOVE the strumline background, but BELOW the arrows. This makes the logic for the strumline backgrounds way more annoying though.
- Your code has unnecessary changes that aren't related to the PR. Please revert them.
- Please change the base branch to
develop
.
source/funkin/play/PlayState.hx
Outdated
/** | ||
* The base character for the opponent. | ||
*/ | ||
var dad:BaseCharacter; | ||
|
||
/** | ||
* The base character for the player. | ||
*/ | ||
var boyfriend:BaseCharacter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are not necessary.
source/funkin/play/PlayState.hx
Outdated
/** | ||
* The current data contained for BOTH characters. This is data from the current | ||
* chart being played by the user. | ||
*/ | ||
var currentCharacterData:SongCharacterData; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not necessary.
after some thinking, why cant we just make the backgrounds their own separate sprites in the playstate? ik that might be frustrating a little bit but thats the only reasonable solution i can really think of (bc as far im thinking abt it, its not really possible to achieve what is wanted unless that happens) |
The background is in the strumline so that it follows the strumline when it's moved, and hidden when the strum it's attached to is hidden. |
Yep. The conundrum here is that since the background is part of the strumline to keep the logic for it simple, but that also means that it's grouped together with the notes. I'm personally wondering if having the health bar go above the arrows is really that big of a deal, though. |
Isn't the whole purpose of the strumline background to lower the amount of distractions so you can focus on the notes? (so that combo, rating and other stuff wouldn't get in the way) |
i was wondering that too, since it really doesnt have that much of an impact imo it just looks cleaner to me, plus i dont think anyone would care or even notice whether the arrows were relayered or not :p |
Its really not noticeable. There is no way that it will affect anyone's gameplay imo unless they specifically look at the bottom of the screen for some reason (or top if downscroll), but nobody does that. Plus, the health bar is really small anyways, so it really wouldn't get in the way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
funkin.assets
sorry ive been busy and went out of town. im most likely going home today so ill fix it when i get home (sent thru ny phone) |
i have made the requested changes |
[DOCS] Fix a link in a Changelog entry
I have made fixed the merge issues. |
Thanks for fixing the merge conflicts, though I'm surprised it only took you 45 commits to fix them, I'm impressed! |
Thank you! I tried my best, I'm new to contributing to public projects, so I'm trying to learn how the system usually works when I try to get a job. |
this pull request fixes this issue: #4541
fixes mildly annoying layering issues with the strumline backgrounds being layered over the ui
Before...
After!