Skip to content
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

[BUGFIX] Chart Editor: Implement Animated Pixel Icons #3339

Closed

Conversation

TechnikTil
Copy link
Contributor

@TechnikTil TechnikTil commented Sep 17, 2024

Does this PR close any issues? If so, link them below.

#3299 #3222 #3148 (might be more, idk)

Briefly describe the issue(s) fixed.

This PR fixes Animated Pixel Icons showing their spritesheets by extracting the first frame of their idle from them. This is all done in-game to simplify implementation, and save storage space.

Include any relevant screenshots or videos.

Before:

before-image

After:

after-image
(dont mind my fps)

"TODO":

  • Extract specific frame from spritesheets.
  • Figure out how to load FlxFrame/FlxGraphic in a button
  • Figure out why the resolution is going wonk.
  • Change Width/Height to actual frame resolution.

@TechnikTil TechnikTil changed the title Chart Editor Icons aren't spritesheets anymore [BUGFIX] Chart Editor Icons won't load as spritesheets Sep 17, 2024
@TechnikTil TechnikTil changed the title [BUGFIX] Chart Editor Icons won't load as spritesheets [BUGFIX] Chart Editor: Pixelated Icons won't load as spritesheets Sep 17, 2024
@TechnikTil
Copy link
Contributor Author

I just can’t let go of this pr for some reason lol

@TechnikTil TechnikTil changed the title [BUGFIX] Chart Editor: Pixelated Icons won't load as spritesheets [BUGFIX] Chart Editor: Implement Animated Pixel Icons Sep 17, 2024
@EliteMasterEric
Copy link
Member

Works 👍
approved

@EliteMasterEric EliteMasterEric added type: minor bug Involves a minor bug or issue. topic: chart editor Related to the operation of the Chart Editor. status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. labels Sep 18, 2024
@EliteMasterEric EliteMasterEric self-assigned this Sep 18, 2024
@TechnikTil
Copy link
Contributor Author

My life has been completed. I committed to the Funkin repository, and it wasn't a typo. I officially have 100%'d life.

@EliteMasterEric EliteMasterEric added this to the 0.5.1 milestone Sep 18, 2024
@TechnikTil
Copy link
Contributor Author

Also I was gonna implement animations but ok lol

@EliteMasterEric
Copy link
Member

It makes more sense to just keep them on the first frame, as adding animations complicates the code for the interface and could cause things to break

@TechnikTil
Copy link
Contributor Author

yk what good point

@TechnikTil
Copy link
Contributor Author

ok im finished now.

…ound, and fix some stuff cuz i dumb (this is the last push i swear)
@EliteMasterEric
Copy link
Member

Not sure why Github doesn't like this PR but it did get merged.

@TechnikTil
Copy link
Contributor Author

TechnikTil commented Oct 17, 2024

Not sure why Github doesn't like this PR but it did get merged.

GitHub didn’t like it because I updated the branch AFTER you merged.

(Sorry I kept having 4:35AM cravings)

also I just noticed this comment lol

@EliteMasterEric EliteMasterEric removed their assignment Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted PR was approved for contribution. If it's not already merged, it may be merged on a private branch. topic: chart editor Related to the operation of the Chart Editor. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants