-
Couldn't load subscription status.
- Fork 2.4k
[ENHANCEMENT] Chart Editor Character Previews #6221
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
|
Fantastic, this is a great feature to finally clean up. For the issue where characters expand out of the box, we could look into expanding the preview box to match the "full" size of the character based on its bounds. Or we could leave it, having the characters go out of the box is a little charming. Note to self: EDIT: At some point I want to go into this PR and squash it, then I can edit the commit message to include |
|
Might not finish my version in favor of this one, it's great.
Expanding the box to the character's full bounds might cause the window to become BIG when it comes to things like BF's attack animation. |
|
All characters that are broken (that I could find)
|
625a3e7 to
a0c2e76
Compare
|
How is this doing? Does it function perfectly or still need some character fixes? |
46f6695 to
49856e7
Compare
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 did a rebase on this, it works great with the asset changes!
I'll fix the characters myself internally.
|
The trojan horse truly was the contributors we made along the way you guys ARE the trojan horse |
|
Yeah man |
|
We are all bros... |
|
I'm trying to hold back my tears |
Noticing 👀 |
That wouldn't work for things like Blazin' where overlap of sprites is part of the design. |
|
Expanding the box too much would make it very big for things like bf-attack, but currently it doesn't expand ENOUGH for several characters like parents-christmas. It should at least consistently hold the idle animations. I'm also working on fixing all the characters that break when using them in the preview. EDIT: The character preview seems to be updating its size to match the PREVIOUS character (this is obvious if you switch characters a bunch), the problem is that anything I tried didn't work, so this is probably a HaxeUI-related issue and not necessarily Funkin's fault. |
I was able to fix this myself in my closed PR (might redo it cuz I got nothing better to do) and all I did was move the code that resized the window out of the if statement reading the preview's dirty variable. |
|
Mighty, can you add the fix to this PR through PurSnake? |
Co-Authored-By: ComedyLost <[email protected]>
16c4b5c to
1eb7da5
Compare
Co-Authored-By: @ComedyLost
They started it first and he made good start base, but i still kinda rewrote all that, BUT I want to show that them worked on it too!
Linked Issues
#6212
Associated Funkin PR
Assets PR: Link
Description
Janky a bit, but still...
This PR revives old CharacterPlayer class with cool features.
Preview your characters animations, including PlayAnimation event! (Also includes custom animation notekinds, since character's scripts are also loaded)
Also some optimization for ScriptEvent stuff and icons reloading.
(Also now NoteScript event)
And I HOPE no performance issues. (I tested and there was none :P)
Screenshots/Videos
!!!! Showcase video
This isn't the best thing I've written, but OH MY GOD, I did it all in two hours.
P.S. If changes are needed, I will make them immediately after requesting them.
(Like fix all characters scripts for this pr and etc)