Replies: 2 comments 2 replies
-
How do you do this but for videos? |
Beta Was this translation helpful? Give feedback.
1 reply
-
its even better if you just create the character object before using it instead of creating a new object when you need it |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This can be done by using Paths.getSparrowAtlas on the image of the character, or any other images the character might pull from, at the start of your song. Alternatively use Paths.animateAtlas if the image is an adobe animate texture atlas. These functions not only return the sprites, they make the game load the images into the game. If you don't do this, then the character that you change to will have to load whenever you change to it if it hasn't been loaded already before, causing lag. A lot of mods don't do this and some mods for this update are already not doing this, so I'm just letting you know if you're new to this stuff.
The first character in the song that you pick in the chart itself is already loaded at the start of the song, so you don't need to do anything for that.
Beta Was this translation helpful? Give feedback.
All reactions