1 decade ago
by kaleong
Hi everyone,
I need to make an animation that shows the object come closer to screen, what I need is set the scale center to (length/2, 0) and then scale it bigger in 2 seconds,
So my question is :
1. Any scale animation in impact? (Something like flash tween class)
2. if yes, can I set the anchor point to others instead of center???
Thanks for any kindly help :)
There is a very recent topic about this very thing:
1. Scaling:
http://impactjs.com/forums/impact-engine/suggestion-adding-scale-to-entities
2. The only anchor points I'm aware of is for rotation.
1 decade ago
by kaleong
is there no way to make the transition animation of scaling??
In other way, is that possible to draw 5 frames that pretend the object become bigger and bigger? (That's mean a smaller object image to bigger object image is contained in a same size box)
Thanks
1 decade ago
by Arantor
You can do it, theoretically, but it would be both very slow and ugly (really pixellated)
You would be much better off drawing the 5 frames, which means you avoid both the performance penalty and the ugly factor.
9 years ago
by Joncom
I don't mean to resurrect such an old thread, however if anyone ever comes across this looking for a solution, I think the following should work:
https://github.com/Joncom/impact-animation-scaling
@joncom, nice example how to make a simple Impact plugin.
9 years ago
by Joncom
@stahlmanDesign: thanks :)
9 years ago
by RockLeo
@Joncom
Just in case, I saved on my favorites.
Thx!!
Page 1 of 1
« first
« previous
next ›
last »