Lucky Rawat Posted March 15, 2016 Report Share Posted March 15, 2016 I have create a cannon sprite i want animation "cannon fire" like cartoons in cartoons when a cannon fires then it becomes fatty and when release fire it becomes normal pls help me how to do this Quote Link to comment Share on other sites More sharing options...
GimmickyApps Posted March 15, 2016 Report Share Posted March 15, 2016 I think you would: start with that graphic on your first keyframe click later in the timeline, at the point at which the cannon should be fatty resize the cannon to make it look fatty (as soon as you make a change, this creates a new keyframe where you clicked in the timeline) add the cannonball on this frame too, z-order behind the cannon (or between the cannon and a secondary cutout you make of the back half of the opening of the cannon) probably add some kind of smoke on this keyframe too click later in the timeline, where the cannonball should be away (I mean, it depends on your application...if you're using this in a video game I think you have multiple options for transitioning the cannonball into a separate game object) move the cannonball to its destination now go somewhere just after your second keyframe on the timeline (the cannonball should be a little bit away from the cannon, for example) delete the smoke I think that would do it, more or less. If you want it fancier looking...well, it depends what you're envisioning! -Gimmicky Quote Link to comment Share on other sites More sharing options...
Lucky Rawat Posted March 17, 2016 Author Report Share Posted March 17, 2016 but by scaling cannon tyre will be also scaled which will not gud so what do do Quote Link to comment Share on other sites More sharing options...
GimmickyApps Posted March 17, 2016 Report Share Posted March 17, 2016 Split it into two sprites... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.