let's start off by editing what the person looks like double click and
draw him from the above view
Now I'm just going to draw it [very] quickly because well you don't really want to watch me drawing a person in great detail there
In-game you'll see that he looks like that, but when he changes direction
He doesn't change direction [to] [fix] this we'll need to draw the other directions
now there are two ways you can do this you can draw each direction separately or you [right-click] on the one you've already made and
Choose create rotated directions, and it does it all automatically for you click ok play the game
But oh, no, he's teleporting when he changes direction
Now this is [G2] where the hot spot is on his character
click on the hot spot tool and
Click on the middle of his body. This is the point around which he'll rotate
So it's important to be in the middle of his body
Prior to all directions play it again and look you no longer teleports
However when he fires bullets, you'll find that it doesn't always fire out from where he is
This is because bullets are fired out from the action spot
which is [a] bit like the hot spot only it determines where bullets are fired out [of] so click on the action point and
Put it where you want the bullet to be
Apply to other directions
[ok], but there's one last thing we need to do
we now need to go into the bullet and make sure that the hot spot and action spot just to be safe are in the
middle of the Bullet
Now it should fire out from the front of him no matter which direction. He looks yay
Now animations in the games factory - are done in several different ways if you've got a prebuilt
movement type for your character as mentioned in part one
It will have built-in animations for all the different actions for example. If you've got a platformer character
He'll have different animation types. He'll use the walking one the jumping one that falling one and possibly the climbing one
now if you want him to
Climb when he goes up a ladder you need to do a climbing animation in this bit here if not
It'll just simply remain on whichever one you have drawn as you get better with Games [Factory]
- you'll probably want to make your own animations to do this scroll down to the bottom of the list right click and choose new
You have complete control over these animations that you make
you can choose when these are played if they're played and
Everything about them really but for now. I'm just going to keep this as simple as possible [and] show you how to animate
Go to the stopped animation. It currently has one frame of animation [if] we play it it looks like this
Say you want him to blink we'll need more than one frame of animation
You can right click on this and [click] clone frame this will make another one. Let's [do] [this] [a] couple of times
there we now have four frames if we want them to blink we choose one of these rooms and
We make it like he's got his eyes closed. He'll now blink
However, it doesn't loop to make it loop go to the direction options and choose loop
This will now loop
Yay
That is our animation
We can apply it to other directions by right-clicking on the one we've already done and by creating rotated directions
Can now see that he blinks in game? [I] mean, it's a stupid example, but now you see how animation works, and you can
Do your own ones in your own time maybe he could be breathing in and out or something like that you'll now see me drawing
Things in more detail sped up obviously so it's not boring [and] then at the end. I'll talk about automatic rotations
Which is a faster way of doing different rotations on [a] character, but possibly less logical than the way you already know
There is an option in the games Factory to called automatic rotations what this allows you to do is to only draw one
Direction and it creates the other directions from that to enable it select the object that you'd like to have automatic rotations
go to the runtime options Tab and
Scroll down to the bottom you'll see automatic rotations there
Ticket and all you'll need is just one [direction] here, so I'll just delete the other ones now
Okay, and when you play the game you'll see that they still constantly look in the direction. They're running
This helps to save memory and time really, but it only works in certain games
You're not going to be able to do it in the side view shooter because if they run the other way they'll suddenly start running
[upSide-Down]
But it's a useful little thing to know and it can be applied [to] any of the objects that you see here
Have fun