Reduce animation choppiness
Reduce animation choppiness
I'm making a fighting game similar to Mortal Kombat (1992) and as such I used stop-motion photography for the sprites. Unfortunately, some of the sprites don't have enough frames and look choppy while animating - changing the delay helps, but it's not enough. I know this isn't the fault of either LOVE or AnAL, but I was wondering if there is something that can be done programmatically to improve the look of these animations.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Reduce animation choppiness
"Choppiness" is a very generic term. What do you mean, exactly? Can you create a .love file showing the issue?
When I write def I mean function.
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: Reduce animation choppiness
Maybe have in-between frames made up of the frames before and after blended together with love.graphics.setColor(255,255,255,128)Trevor wrote:I'm making a fighting game similar to Mortal Kombat (1992) and as such I used stop-motion photography for the sprites. Unfortunately, some of the sprites don't have enough frames and look choppy while animating - changing the delay helps, but it's not enough. I know this isn't the fault of either LOVE or AnAL, but I was wondering if there is something that can be done programmatically to improve the look of these animations.
Re: Reduce animation choppiness
The main game is now 15MB because of the sprites and music, so here is just one sprite animating. Perhaps the delay could be better optimized, but I think it gets the idea across.
- Attachments
-
- Demo.love
- (73.38 KiB) Downloaded 203 times
Re: Reduce animation choppiness
retrotails, that sounds like it could work, but I don't know to implement it. Can you provide a small example? or a more detailed explanation?
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: Reduce animation choppiness
I've never used an animation library other then my own, so I don't know if it's possible with AnAL. Also this is nearly seizure inducing so its not that great.Trevor wrote:retrotails, that sounds like it could work, but I don't know to implement it. Can you provide a small example? or a more detailed explanation?
edit:
Change love.update to this to see the effect more clearly
Code: Select all
timer = timer + dt/8
Re: Reduce animation choppiness
Nearly seizure inducing indeed. Thanks for the help. I guess there isn't anything that can be done for a poorly made sprite. It has an interesting effect on the animation, but it doesn't appear to improve the smoothness. Thanks for suggesting slowing it down to see it more clearly.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Reduce animation choppiness
The only thing I can think of for making it "less choppy" is making it smaller.
While smooth animations are always a great thing to have, a small number of frames is quite noticeable on big animations.
Here, have some inspiration:
http://www.fightersgeneration.com/characters/dan-a.html
While smooth animations are always a great thing to have, a small number of frames is quite noticeable on big animations.
Here, have some inspiration:
http://www.fightersgeneration.com/characters/dan-a.html
When I write def I mean function.
Re: Reduce animation choppiness
Thanks kikito, where possible I'll reduce the size.
Re: Reduce animation choppiness
There's a free application called SloMo Video for Windows and Linux:
http://slowmovideo.granjow.net/download.php
I've tried it once and it does a *very* convincing job in calculating frames "in between" and producing a smooth animation.
http://slowmovideo.granjow.net/download.php
I've tried it once and it does a *very* convincing job in calculating frames "in between" and producing a smooth animation.
experimental art since 13.75 gigayears
https://github.com/humansarepuppies
http://stardiaries-lab.blogspot.com/
https://github.com/humansarepuppies
http://stardiaries-lab.blogspot.com/
Who is online
Users browsing this forum: No registered users and 8 guests