Page 1 of 1

MEGA MAN FIghting Animation Style Combat NEED HELP NOW.

PostPosted: Sun Jul 10, 2005 6:37 pm
by josh_sg1
Ok guys I have a serious problem.

I have to come out with my demo within the next 6 days and I havent gotten this part of the proggramming finished.

You all know how when playing mega man he is facing like this.
Image
Image

Well when he shoots he is holding his gun out. WTF how do I do that?

Controlls
My controlls are
W = stand upright
S = sitting
D = walk right
A = walk left
S hold + D = crawl right
S hold + A = crawl left

Example of problem.
Mega man runs to the right. You press the shoot button while running and he shoots but he shoots to the right and when you hit the fire key he instantly changes animations to holding his gun out.

Its the same thing when he is moving left. Fire button changes the animation from just running with fists to fireing his gun. Also, if you are stopped and pointing left, you hit the fire key and it shoots left.

If facing right with the right animation, you press fire and he shoots right.
THIS is where I am having trouble.

Image

My characters name is Vash. I have the walking left and right animations ready. I have a right and left animation with him walking with his arm and gun pointing out.

So far you looked over my current controlls. I need to make it to where when you shoot with the [ctrl] key, he changes his animation to fighting mode instead of walking, but only for a few seconds. This is imparative to my game.

Look at it like this. Holding D walking right, you hit the [ctrl] key to fire.
Vash should be walking right and then instantly be holding out his gun IN THE RIGHT DIRECTION. You now see Vash shoot from his gunwhile your walking.
Projectile released. Now if you STOP WALKING he is suppose to stay in fighting mode.

As in this case the ChangeAnimationDirection he would be facing right in fighting mode. When he was walking (after fire keys been pressed) he would be holding out his gun and when you let go of the D key (or wich ever way you were going) the animation would change from Fighting mode-walking to fighting mode-standing still.

Problem
The problem is I only want the fighting mode to be there for a few seconds after firing and then auto switch back to normal waking mode.

Just like mega man. :roll:

The Basis of my problem is to get the normal stance to change to fighting stance for a few seconds and then switch back.

The fighting stance is activated by the [ctrl] key being pressed to fire.

Its basicaly changing the WSAD animations for a few seconds and then switching back.

Im sorry for the question being so darn complicating. :(

PostPosted: Sun Jul 10, 2005 6:54 pm
by ingsan
Ok man, I'm going to prepare a demo for you.
But for now, to activate the switching of fighting-walking mode to walking mode, create a Timer (say Timer_Switch).
On Timer_Switch > ChangeAnimation to Walk animation 8)

See you soon

PostPosted: Mon Jul 11, 2005 12:04 am
by josh_sg1
Thanks, cant wait.

This is gunnu be hard. Im glad to see soemone replied.

PostPosted: Mon Jul 11, 2005 5:48 am
by jazz_e_bob
You are lucky ingsan is helping you. My eyes glazed over by the third line. :wink:

This is an interesting article on controlling sprites (animations).

http://www.fastgraph.com/fsm.html

The demo code isn't in GE C but you can still see what is going on.

PostPosted: Mon Jul 11, 2005 5:55 pm
by LEO (LCG)
Looks like "Flashback" game engine style to me.

PostPosted: Wed Jul 13, 2005 4:40 pm
by josh_sg1
Really? lol. I have got 3 days left to finish the demo. While waiting for the demonmstration I have been finishing up on the level design and sound.

Once I can get through this problem I will be able to fly trough the enemies and triggers therefore completing the DEMO to send out to my fans by the end of the week.

PostPosted: Wed Jul 13, 2005 7:53 pm
by Game A Gogo
FlashBack, I got that game on sega, its realley fun.

PostPosted: Thu Jul 14, 2005 1:01 pm
by josh_sg1
Yeah? Flashback any good?

Im making the mega man style with some tweiqs.

PostPosted: Thu Jul 14, 2005 10:24 pm
by Game A Gogo
Flash back is a game that look a like megaman.

PostPosted: Fri Jul 15, 2005 12:40 am
by dybot
No flashback is a game that's more "adult" than Megaman. :wink:

PostPosted: Fri Jul 15, 2005 1:55 am
by josh_sg1
Right. I get it.

Is isnangan coming anytime? iv'e got 1 more day to do this. Thats 30 minutes to get thing done on animations, sound, recording, level design, triggers, fighting, level programming, and character design.