Bug Report: Unable to add Sprites to appear under playerStrum underlay notes #3933
Closed
2 tasks done
Labels
status: pending triage
The bug or PR has not been reviewed yet.
type: minor bug
Involves a minor bug or issue.
Issue Checklist
Platform
Itch.io (Downloadable Build) - Windows
Browser
None
Version
0.5.x
Description (include any images, videos, errors, or crash logs)
I try to make a custom Sprites to have the zIndex under the notes of the playerStrum underlay, for example if I try to make a sprite when a note is hit:
state = PlayState.instance;
in this simple caseThe notes appear under the sprite for some reason, but normally the notes should be over the sprite (doesn't matter what zIndex I give, result still same even if i usethe zIndex of the strumline or one strumline note)
Edit: The only idea I could come up with is to render the sprite beforehand onSongLoaded, but the approach is not that optimal imo
Or call the method sort but idk how optimal is this
state.sort(SortUtil.byZIndex, FlxSort.ASCENDING);
Steps to Reproduce
The text was updated successfully, but these errors were encountered: