-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[ENHANCEMENT] Additional changes to Note Kind Scripts #2635
base: develop
Are you sure you want to change the base?
Conversation
converting this to draft for the time being |
could make a function in the
that way people at least don't have to manually get the notes (especially if they need all the notes from the opponent as well, that can get pretty long as you can see above) |
i guess it can now be reviewed |
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.
Just one smaller nitpick but this is extremely useful!
In the future I'd like to add a function, or see someone contribute a function, which lets you override the note graphic based on note kind.
Im gonna look into it, since hold note assets dont work currently, and that new function could maybe help with that issue |
Making it use a different note style is a great idea! This probably won't get into v0.4.0 but this is very exciting. |
The Note Style it hink should pull from "chartnotestyle-notekind" notestyle first before pulling from the kind's notestyle. This'd allow you to have like, mine.json as a fallback but then pixel-mine.json to automatically load in a pixel graphic for the mine for songs with the pixel style, for example |
hardcoding note style options in dropdown, because i dont want note kind styles to be shown as well |
Won't doing that mean modded note styles won't display anymore? |
you should have a check where if the note style has all the asset types filled then it displays in the dropdown, otherwise if it doesn't it wont display |
Pixel inherits some values from the default style. Now that I think of it, the simplest solution would be to add a "hidden" property to the JSON data that determines whether it shows in the chart editor. |
Currently im checking if it has strum, note and holdnote sprites. If the note style has all of them, then it is shown in the chart editor But i guess adding a |
Should i make the
|
change to keep in mind (note-data.xml): From<grid columns="2" width="100%"> To<grid id="toolboxNotesGrid" columns="2" width="100%"> |
I still think that instead of checking for the pixel style in specific, it should just suffix the song's note style so that songs that use modded note styles can have style-specific type graphics. |
Noted, should be a quick addition. |
Im requesting a review, mainly for the purpose of checking if all other HaxeUI states work, since there might be some new logic that breaks old states. Although i kind of doubt that they made breaking changes with the newer versions. By the way the reason for updating to the newer versions is to fix the minimize issue. (The footer was turned visible even though it wasnt supposed to be visible) |
I guess, I'll just close this, since it has been added internally |
idk why, but eric is merging a lot of old prs i would have thought that it isn't possible to merge old prs, but i guess im just wrong |
I was manually resolving the merges on old PRs I think this particular one might need to get bumped to v0.5.1 because it includes changes to the note params system that you made after we merged internally |
Im pretty sure the new way of handling |
e0b1b01
to
410cfe9
Compare
f89e6ae
to
79b80b6
Compare
49ecc26
to
85400d5
Compare
85400d5
to
3b4dbae
Compare
3b4dbae
to
2edd465
Compare
this pr adds scripts for note kinds, so we don't have to define the custom behaviour in character or song scripts.
this pr aims to add the functionality described in #2601
NOTE
Since this is a big change to notes, it's probably hard for the @FunkinCrew to review this just by themselves. Any feedback of other contributors or whoever is also appreciated.
TODO
onUpdate
work as wellonUpdate
less clunky (thanks @KutikiPlayz )String
CUSTOM PARAMETERS
Each note has its own values for the parameters.
For example
Play Anim Note
:This note kind could have a parameter
animName
, which you can set for each note individually. This might be nicer than having 50 different notes for playing custom animations.Old charts should still work, and not lead to crashes.
EXAMPLE SCRIPT
PREVIEW
preview.mp4