FINAL UPDATE! FEB-2013 (tutorial was never completed)
-If you are interested in
MELEE attack codes take a look to https://www.scirra.com/forum/beat-em-up-platformer-templates_t124000.
-It's a
DIFFERENT PROJECT. That template is NOT the fighting engine.
-There is a tutorial on the tutorial section on a 2D fighting game by another user, you can check that one too)
http://dl.dropbox.com/u/103248101/C2FIG ... HTERS.html
NEW FEATURES IN THIS VERSION
*CHARACTER SELECTION (Ryu and Ken only, but easily expandable)
*LIFE BARS, THE FANCY ONES (those that recover if you don't get hit again)
*P1 and P2 indicators if you select the same character for player1 and player2
*WIN/LOSE/DRAW ANIMATIONS
*ROUND INDICATORS (to know how many rounds you have won)
*2-3 ROUND GAMEPLAY, but infinite if you get a draw each time---virtually impossible
*99 SECONDS TIMER
*"STOP-HIT" WHEN HIT (obviously)
*SLOW MOTION WHEN DEFEATED (classic SFII)
so if I didn't messed up with my debug code during exporting, that's what you'll get hahaha
TO-DO for next update... finally start recording the videos... and maybe, in a future, a long future... AI
-----------------------------------------------------------------------
UPDATE! 0.3 05/02
RYU is gone
2 KEN PLAYABLE CHARACTERS (for testing)
BASIC COLLISION SYSTEM!!!!!! WORKING
TECHNIQUES COLLISIONS (except ShoRyuKen)
BLOCKING
HIT ANIMATION RESPOND TO ATTACK STRENGTH (low mid hi)
"DOUBLE KICK" when hitting the opponent in close distance (we all love that, don't we)
PROPER ANIMATION WHEN "STRONG KICK HIT" FROM CROUCHING
*control P2 with "arrows" and ZXC (punches) and VBN(kicks)
TO-DO for next update...
*fix "STRONG PUNCH HIT" animation/actions
*life bars
*character selection
*and that'll be all
THANKS TO USER SHINKAN FOR THE HINT ON USING FAMILIES
-------------------------------------------------------------------
UPDATE!
RYU appears... (but just as a dummy)
KEN FACES RYU ALL TIMES (except when is jumping, otherwise will be weird)
TECHNIQUES CAN BE USED BOTH SIDES (facing right and left)
CHARACTERS PUSHES THE OPPONENT WHEN NEAR AND WHEN FALLING FROM JUMP
(a liitle bug when jumping and pressing "D" to be fixed)
*move Ryu with LEFT & RIGHT
http://dl.dropbox.com/u/103248101/C2FIG ... HTERS.html
TO-DO for next update... COLLISIONS!!
------------------------------------------------------------------------
Hi, I'm working on a series of video tutorials on how to make a fighting game, but since it ended up being more complicated than what I though originally, I'd like to know if there are people interested in this... that way I won't waste my time for just one or two people.
This is as far as I got in a day and half, and I'm already over 100 events, so this won't be a basic tutorial...
As my Generic USB gamepad doesn't work in browsers I mapped all the keys to the keyboard:
UP=W DOWN=S LEFT=A RIGHT=D
LOWPUNCH=U MEDPUNCH=I HIGHPUNCH=O
LOWKICK=J MEDKICK=K HIGHKICK=L
MOVEMENTS ACHIEVED SO FAR:
L,M,H PUNCH
L,M,H KICK
L,M,H CROUCHING PUNCH
L,M,H CROUCHING KICK
JUMP, FRONTFLIP, BACKFLIP
JUMPING PUNCH, KICK (only H because I didn't get the sprites for L and M)
CROUCHING
SPECIAL MOVES:
HA-DO-KEN: S-D U/I/O (varies in speed, as it should be)
SHO-RYU-KEN: D-S-D U/I/O PUNCH (same as above, I coudn't do the "diagonal" because it's almost impossible in a keyboard)
TETSUMAKI-TENPUU-KYAKU: S-A J/K/L KICK
AERIAL TETSUMAKI... (DURING JUMP)
I still haven't "touched" the collisions stuff, and of course the combo system, hopefully I'll come up with some ideas..
Just to know, is there any other feature you are interested in? (keep it basic please?)danuyos2013-02-12 08:53:48