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

Keyframe recording #25

Open
dkatch opened this issue May 6, 2020 · 2 comments
Open

Keyframe recording #25

dkatch opened this issue May 6, 2020 · 2 comments

Comments

@dkatch
Copy link

dkatch commented May 6, 2020

Would it be possible (or does it already have) support for keyframe recording? Currently the animations are Read-Only so you can't do any recording, but in scenarios where you might want to change hitbox (collider2ds) with the animation at certain keyframes this would be really useful.

Is it something that can be done? It's such an incredible importer and the ability to add animation events/record keyframe activity would make it perfect.

@advra
Copy link
Collaborator

advra commented May 25, 2020

For now you can duplicate the animation by doing Ctrl+D. The duplicate will allow you to create new animation events. Though this is a problem I have been running into lately. If I change my animation in Aseprite, id have to go back and re-duplicate and apply my animation event keyframes once again.

This is cumbersome as changing tools and maintaining multiple animations can get messy. More explanation on my issue implementing this feature in the past:

@CeejayZSmithrecently allowed the importer to become serialized. Yesterday I tired to serialize the clip animations but it appears unity does not allow AnimationClips to be serialized. @alexpennells made some bug fixes to the way the importer is serialized which might resolve my issues but I havent had the time to look into it yet.

@advra
Copy link
Collaborator

advra commented May 26, 2020

Update: I have this partially working in that you can add animation events and keyframe. I still need to properly reload the event data back in though. Theres still some interesting roadblocks up ahead though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants