MEGA MAN FIghting Animation Style Combat NEED HELP NOW.

Talk about making games.

MEGA MAN FIghting Animation Style Combat NEED HELP NOW.

Postby josh_sg1 » Sun Jul 10, 2005 6:37 pm

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. :(
josh_sg1
 
Posts: 17
Joined: Fri Apr 29, 2005 8:53 pm
Location: usa michigan
Score: 0 Give a positive score

Postby ingsan » Sun Jul 10, 2005 6:54 pm

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
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby josh_sg1 » Mon Jul 11, 2005 12:04 am

Thanks, cant wait.

This is gunnu be hard. Im glad to see soemone replied.
josh_sg1
 
Posts: 17
Joined: Fri Apr 29, 2005 8:53 pm
Location: usa michigan
Score: 0 Give a positive score

Postby jazz_e_bob » Mon Jul 11, 2005 5:48 am

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.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby LEO (LCG) » Mon Jul 11, 2005 5:55 pm

Looks like "Flashback" game engine style to me.
___________
Blessed are the pessimists for they have made backups
User avatar
LEO (LCG)
 
Posts: 24
Joined: Fri Jan 07, 2005 11:56 am
Location: Blanka's country
Score: 0 Give a positive score

Postby josh_sg1 » Wed Jul 13, 2005 4:40 pm

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.
josh_sg1
 
Posts: 17
Joined: Fri Apr 29, 2005 8:53 pm
Location: usa michigan
Score: 0 Give a positive score

Postby Game A Gogo » Wed Jul 13, 2005 7:53 pm

FlashBack, I got that game on sega, its realley fun.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby josh_sg1 » Thu Jul 14, 2005 1:01 pm

Yeah? Flashback any good?

Im making the mega man style with some tweiqs.
josh_sg1
 
Posts: 17
Joined: Fri Apr 29, 2005 8:53 pm
Location: usa michigan
Score: 0 Give a positive score

Postby Game A Gogo » Thu Jul 14, 2005 10:24 pm

Flash back is a game that look a like megaman.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby dybot » Fri Jul 15, 2005 12:40 am

No flashback is a game that's more "adult" than Megaman. :wink:
dy studios
User avatar
dybot
 
Posts: 42
Joined: Wed Jan 26, 2005 5:17 pm
Location: Iceland
Score: 0 Give a positive score

Postby josh_sg1 » Fri Jul 15, 2005 1:55 am

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.
josh_sg1
 
Posts: 17
Joined: Fri Apr 29, 2005 8:53 pm
Location: usa michigan
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: Google Adsense [Bot] and 1 guest