Wonderlarr Posted August 24, 2021 Share Posted August 24, 2021 Hey modders! Hope you've been doing well while I was gone. I've recently returned to working on my mod once again, but while trying to compile a small progress bar animation, I kept running into really strange issues that prevented the animation from running properly once compiled. My animation is a 48 frame animation of a circular progress meter, here is a gif version of it. In Spriter, when in the exported folder and everything, it looks similar to above, here's a video of the animation playing in the editor, it's a bit faster though, but still correctly plays. Desktop 2021.08.23 - 21.57.18.04.mp4 However, after the autocompiler compiles it, something strange happens. When using the animation in game, the progress meter was somehow duplicated, and was also stuck on the first frame of animation, like this I decompiled the anim file that was exported by the autocompiler using krane.exe from Ktools, and my little animation was completely screwed up, here's a video of it in the editor to compare to above, keep in mind this is the same animation. Desktop 2021.08.23 - 22.09.46.05.mp4 I just don't know what to do, I've tried recompiling and it gives me similar, sometimes different, but always broken results. Does the compiler have a problem with me swapping and image out every frame? I'm not super familiar with spriter outside of making dropped item animations and stuff like that, so I don't know what's going on at all here. In case it helps, I've included the project file below, as cdmeter.zip, this has the scml file and it's assets, and cdmeter_corrupted.zip has the messed up file I extracted cdmeter.zip cdmeter_corrupted.zip Link to comment https://forums.kleientertainment.com/forums/topic/132912-strange-animations-issues-after-compiling-scml/ Share on other sites More sharing options...
Monti18 Posted August 26, 2021 Share Posted August 26, 2021 I just tried it and had the same results as you did. I think the problem is the naming of your files. Before compiling, they are all named after a number. After compiling and extracting, the files are named cdmeter-(number). I don't know if it will work if you rename all of them before compiling to cdmeter-(number) but if it doesn't work, you can make it the way the devs did it with player_progressbar_small, which is a bit more work, but should work. player_progressbar_small.zip 1 Link to comment https://forums.kleientertainment.com/forums/topic/132912-strange-animations-issues-after-compiling-scml/#findComment-1488443 Share on other sites More sharing options...
Wonderlarr Posted August 30, 2021 Author Share Posted August 30, 2021 On 8/25/2021 at 11:13 PM, Monti18 said: I just tried it and had the same results as you did. I think the problem is the naming of your files. Before compiling, they are all named after a number. After compiling and extracting, the files are named cdmeter-(number). I don't know if it will work if you rename all of them before compiling to cdmeter-(number) but if it doesn't work, you can make it the way the devs did it with player_progressbar_small, which is a bit more work, but should work. player_progressbar_small.zip 46.52 kB · 0 downloads Well, I guess if it works it works, time to make 48 folders and check it out, I'll let you know results. Link to comment https://forums.kleientertainment.com/forums/topic/132912-strange-animations-issues-after-compiling-scml/#findComment-1489459 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now