Second part of the Happy Summer postcard tutorial! Time to animate a crab!
hello everyone this is in the lab and welcome to part 2 of the happy summer animated greeting so as you can see i have copied and pasted the grab from a design into a separate illustrator file and now let us separate the less now what we will have to do is we'll have to separate the upper part and the lower part of the leg which is the tie and the car part of the crabs like into two separate list so we can animate them separately alright so generally speaking we will be separating the list so that we get separate control so you may notice that i have created this whole arm the other leg the upper and lower part as one single shape so i will have to split them into two to make them accessible for animation separately okay to do that we can go to the submenu of the eraser tool and select the knife tune you'll just have to slide right click and drag on from where you want to separate the shape all right and we can do this for all the other legs as well now what we have to do is combine this shape and the forearm into one single shape all right to do that you will have to go to the part finder tool which is somewhere here we can also do that with the new shape builder tool which is available in the new version of illustrator CC ok but that is not maybe not available in the previous versions alright so let's just continue with the part finder tool we will have to have these two in two different layers so we'll be able to animate them separately all right also take care that the small circle is attached to the upper part of the leg which is closer so that it moves with it all right now let's put all these separate all it's all the legs all the different parts of his body into separate layers for his eyes will need to combine this time which is holding the eyeball and this socket together ok you can keep the I white separately and a people separate so I'll grab is ready everything on separate layers that we want to animate which is the body the legs all the legs into parts so we can have a pivot on the knees and bend them his arms and body forearms and this greeting in one separate layer ok so let's just save this file and move on to animation ok guys so let us import the crab character file from illustrator into after effects will do it the same way that we did for our previous design you can just double-click in the project window or you can go to file import import file we have created a separate file for the crab so let's just import that select composition retain their size and imported so you will not that this composition is ready and we already have all the separate layers that we will need to animate ok so no character animation is a little bit complex and a bit difficult than the normal object animation you'll have to think about how many factors that comes in while animating a character all right i am is as opposed to just a simple object so we need to think of this grab character as a little funny guy who comes in holding the sign holding the happy summer greeting for you and it will pause in between have a funny blink and then walk out of the screen all right we'll have to perfectly capture the humor of his actions ok and I intend to make a loop of that animation so we'll be able to export it as a gif animation ok so you can now see here that you have the waiting and the arms in one layer they will not move that much because you should be readable the body is there and then for each arm or legs there are two parts are one and I'm too so we can then have a pivot on the joints and then rotate the arms based on that pivot ok i'll just show you an example here is just select this this this leg so whenever you select an object in After Effects any shape or any object the pivot of the object anchor point is exactly in the middle of your selection ok so if you rotate just hit our press are on your keyboard and if you rotate it will rotate it through that anger . now we will move that anchor point to the position that we want that object to move from to do this there's a simple tool here then behind Anchor Point tool or you can simply press Y on your keyboard then select the anger and bring it here now if you rotate it will rotate from exactly the point we wanted to ok and you can go on and do this animate the other legs using the same fashion now here we can select this leg just like 1a and this is like one so this leg this part of the leg move actually is moving from the middle but we don't want that we have this small circles so let's select the pan behind to all the Anchor Point tool and bring our anchor point here you can do this manually or you can use many scripts available which will snap your ankle . - 8:30 corners or the edges of your selection some scripts are free but some you'll have to buy but they're surely helpful for now let's just drag this wherever we wanted to alright so this is how it's going to move ok i just noticed that it's a little bit also let's fix that ok this looks much better so now when we move the first part of her leg his half the no part of his life is just sitting there so we need to parent that part of his leg to the first part okay is ty so to do this there is a simple button here a little spiral button in front of the layer name here and you can click on it and drag and when you drag it there comes a whip you'll be able to see you just have to drag that and drop it on the first part of the leg so this part of the leg the lower part is now planted to the upper part of the leg ok so when you move this you will notice that the second part comes with it and when you move this it animates on its own ok so this is a simple procedure that we need to do for all the legs alright so let's go ahead and set the anchor points for other legs as well ok for the eyes there's not much an emission he will just be blinking his eyes and for that we have the eye wide separate and the people as a separate layer for the plan to work we have to scale the I white is on the keyboard uncheck the constrain proportions and change the scale so it works but the our people remains outside the I white ok there's a little trick to do this just to placate the I white layer pressing ctrl D on the keyboard you will get that I white are two layer just put this above the pupil layer and now while selecting the pupil layer you can go to this step second line of tab in front of the land so you'll get the masking options for that and select alpha matte I are white - now what is happening is the pupil layer is being masked by the higher white to layer so if you move this you can see that it has created a mask for the people to work so now we have to I white and what is - II simply work you're just betting the second one to the first and when he hit when we hit s and scale the first one and the blank works perfectly alright so this is a very simple trick and let's just do it for his left eye as well you can also hide the unwanted layers like this is already hidden so you can shy guide them as we had done before ok so i think our is now complete it was very simple right we just had to set the anchor point for all our legs and said the blanks so let's just start animating ok so I'll just shy guy delays that I don't want and this green Liz are the list for his leg so it is much sorted out so are basically I will anyway this kept walking in place like a loop like a walk cycle and then later on we will animate his transition transition the position from our screen right to left all right for our animation to look convincing we will we actually need to know how crabs walk so pull out some references watch some videos if you can to study how a crab walk it doesn't have to be perfect to the real life as this is a cartoon we can take our own cartoon liberty to do that and experiment with the animation ok so now let's get started the simple way to set keys on any object is and just show you our press are on the keyboard to bring of the rotation values for the leg we'll have to make poses for a leg so if let's say this is the first pose exposes reaching out like this and you can see that there is a little clock icon in front of the names and properties and we can click on it to set a key and press plus or minus on the keyboard to zoom in and out in the timeline and then after a few frames let's say after four frames you can set another key where it will come back to its original position suppose it that way and said the key and then bring this inside a little the third pose so look at this is not final it is not define an animation but consider him this is this as a one-step ok and then I go to the timeline and hit space bar 0 0 you can see that this this animation place and you can do this for all the legs as well and make it work together cohesively to seem like is walking ok this is easier said than done but we'll get there to know where the ground levels are are we have to have some guides are telling us the level of the ground so just press ctrl r on the keyboard and bring the guidelines the rulers just like illustrator and drag it down because you know out our animation just delete the keys and before moving into animation we can set the ground levers bringing more guides if you want and see where the ground controls are ok so this leg would I have a guide here and it will not go below it like deep into the ground or float above it so that would be a reference for . for the touch to the ground now i have animated is first leg and i will just explain the mechanics to you we have this to controls one where the leg is joined to the body and the second one is his knee right here so this is very simple I have made his first pose and feed board the layers then it comes halfway and when it comes up with this upper part of the leg moves upwards to maintain the crown position ok not penetrating into it and then it comes in for the typos and it lifts up in the air and then reaches out to the ground stomping on the ground and the animation continues so at the 16th frame like the first and the 16 flame is the same so you can get it loops perfectly and you can see the animation working so I think this is working let's do it for the other legs as well and make our animation ok guys so we have animated or crab setting keys on all the legs I just hide the rulers and the guides and you can check out the animation ok so his walking in place right now and we haven't offset him let us do that while we are actually into a scene will offset the position making him go from left to right all right so this is a very simple we may need to copy all of these frames and loop it copy and paste it further to make the duration as much as we want i'll just show you other layers as well just press select all the list and press you to bring out the animated properties you can see that there are many key frames here you can press you back again to hide them so as I said we may need to copy that animation and paste it further in the timeline to make the walk duration longer to manage match how we want it into seeing and also will be animating the blings right inside the scene itself because we will get a better idea i ad where exactly he's bought stopping to blink ok alright so here we have a composition as we had animated earlier now we need to bring our club animation file after X file just double click on the project window and import that saved file just double click on it and the whole becoming a double click on the composition itself and you will see that the crab that we animate it is right there just click the composition and drag it into our scene alright so here it is and you can place it in the scene at the position you want all right just bring that layer behind the foliage layer so it will come in for a bit and walk out but it would really help if we make the layer 3d ok so to get that bad likes working better to him as well so i'll just click on the little cube here and make the latter pretty and now we can move him in 3d space ok just hit a sea and you will get the unified camera tool ok so i have repeated the mistake that I did earlier we should go inside the scene and make the sublist 3d as well inside the composition now if we go back to the scene right there it is visible now as it was not before so now we just have to move in behind that grass in Z depth let's change that value for him a little bit back ok so now when you go back to the active camera you will see that the position and the scale is changed and you can do it manually we will also need to change the scale of our crab so let's just do that I think this big is enough alright and reposition it as a like now the walk is there but we have animated only one loop of that walk so after a certain point the crab stops walking ok so we should we need to go inside that composition and then highlight all the list and hit you on the keyboard this will show us what all the properties are changed out animated and set key keys up on in after effects ok so weak we can go back to completion and judge roughly how much time the crab will take to come in the frame stop and walk out ok so i think it's roughly three and a half seconds or something ok so roughly three and a half seconds and now we have our cursor on three and a half second inside this composition as well so we have to copy all of these keys and paste it in front to continue this animation till the desired time ok so you now you can you can see that i have copied a little bit extra as well this does look like a mess but it is very important I've kept it about five seconds a little bit extra if we need it you just have to press ctrl c and then take the cursor to the last frame and press ctrl-v to copy it further alright alright so now i have selected all the keyframes and right click on it go to key frame interpolation and select Auto Asia what this does is its moons out your curves your animation it gives it some easy and is that out so it will not yoki friends will not hit a and B jokey ok now let's go back to our main composition here now you will notice that it's continuously moving so now let's animate him coming into the scene and then going out again this is very simple you just select the layer hit be to bring in the position values and said he and change the values for the x-axis so he moves from side to side set a key here and we'll go to about three and a half seconds and change the value of x and make him go to the screen left all right let's move him going out of the scene hit and to limit our time slider so that it will play to this point itself and let us see what we have here okay so it looks funny but I think it's too fast because his legs are sliding so we will need a little bit more time according to his animation let's bring that key to about five seconds so we're stretching the time 25 seconds and now let's see how it looks I think that's much better yes looks good ok I think we should scale him a little bit so that is visible ok this much as good so now we can make him cum in the middle of the scene and stop and then blink and then go but to do that we have to go inside the composition and delete some of his leg animation key so that his legs are not continuously sliding when he has stopped ok so let's just do that you can just delete the keys yes we can delete everything else so he will cause a little bit stop and then walk away again so in this little window that we have got here this little stop we will be able to make him blink so it's very readable ok so let's mark are in and out for that window as a guide presby for the in and and for out so now we know that we need to blink his eyes over here so go to the I white layer it s on the keyboard to bring the scale values uncheck the concern proportion make sure that it is unchecked and now you can change the values and said the key a blink would usually go about price extreme so just set a key and after two frames you can make him blink 0 the value hold that value for under the two frames ok and she can just copy and paste the same one and then after about three frames open it again and let's see how it looks I think it looks good but we can reduce the timing a little bit open it faster and also reduce the clothes hold for just two frames yeah I think it looks better let's just do this for other eye let's see how this looks in a scene ok so now we have made him stop his animation store but we didn't we didn't stop him as such is displacement is still there so let's just find the key where is like stop moving and key his position on the composition as well and before he started moving is like again copy the same position same p over there so if you notice we have a little bit of a chaos going on in here is still sliding because there is an overshoot in the curves of the animation just select all the keys right click on it were two key frame interpolation and select Auto base here what this will do is will flatten the curves and have no overshoot to it so now let's see how our scene looks you can hit zero and see the render ok that's grid ok guys here the final scene you can see that the crab walks in wishes you a happy summer and walks out what I did with the vase I've animated waves as well just a little bit of up and down I think coming in and out as our camera moves for the camera i have just pushed it in and out and kept the first and last frame same so it looks together and this is making the battle-axe work properly you can definitely go ahead and animate the glitter on the ocean the leaves moving with the wind add some boards in the sky and I have the foreground grass moving with the wind as well keep on dancing and adding bells and whistles to the scene this is just scratching the surface of optics and its potential to handle 2d and 3d objects this is more of a 2.5 d kind of scene yeah I hope you guys got to learn something out of this tutorial i hope it motivated you to do something much better than this if you have any queries or questions do let us know in the comments so this is it keep designing keep creating this isn't allowed for free kick . com thank you for watching yeah