Hi guys! I try to make a game with GE based on Ninja Gaiden style, and have a doubt with KeyDown and KeyUp events.
Well, I have a character with all animations and sprites, and either he is able to walk, jump and crouch. With exception of walk, the rest of the movements is activated depending of the last direction of the animation (in other words, depend of the last sprite/animation of the character on the screen). So, if he look at the left, when I press the down arrow he crouch with the animation/sprite to left. Understand me? How make this? Something like this:
if (char_stopright)
{
ChangeAnimation ("player_char", "crouch_left", FORWARD);
}
??? Not work (not in my hands...)!
Puleeeez, help me!
I think this explanation is very important for everybody making platform games. Thaks for some help. And sorry, my english is terrible...