Game Development Community

T2D for Fighting Game

by Demone Amerson · in Torque Game Builder · 04/24/2005 (12:48 pm) · 2 replies

I've been pondering this crazy idea for a good oldschool style fighting game since the T2D Early Adopter release. Its on the level of lets say Marvel vs. Capcom 2, and I ways just curious to know if the T2D Engine could be used for that sort of thing. If so, I'd like to know what suggestions and/or ideas you may have?

Thanks,

#1
04/24/2005 (7:31 pm)
Ah man, I'd love to see it. In thinking about the design for T2D, we often asked ourselves how our decisions would affect someone trying to make a fighting game, though we also thought about puzzle games, RTSs, RPGs, platformers, shooters, etc, etc, etc. Anyway, thinking about fighting games was always my favorite part, since I'm such a big fan, and I'm sure Melv got tired of seeing me say "hmmm... well, that wouldn't work very well for a fighting game though, because..." ;)

Anyway, you could certainly do a fighting game in T2D, but it would require some custom work, at this point. First off, you'd need to add some more functionality to the animation system. You'd want it to spawn sounds at certain frames, move the player object around, etc. You'd also want to load frames differently, no doubt. In fighting games different frames can be of vastly different sizes, and there are so many animation frames, you can't well spare to have them all load at the biggest frames' size.

Likewise, detecting collision would need some custom work. Fighters need pretty precise collision, and T2D currently allows only one collision poly for all frames. You'd either want to create a bunch of sub-collision objects on your fighter sprite (eg left_arm_poly, left_leg_poly, torso_cpoly, or whatever) and animate their positions (and maybe their sizes / points), or you'd want to just change the whole sprites collision poly with each animation frame. Alternatively, you could use a bitmask and implement "per-pixel" collision detection (though I'd recommend comparing the bitmasks in system memory, not using OGL).

Well, please forgive me, I'm rambling a bit and being imprecise here... I'm in a hurry. :) Point is.. I'd *love* to see some T2D fighting games. Yes, it is possible, but it'd require some custom work. When we do the official update to the T2D animation and imagemap systems, it'll be a lot easier to do a fighting game in T2D, but even now, you could make a good start, and even finish one if you were up to do the custom changes.
#2
04/24/2005 (9:16 pm)
Lol coincidentally today I was thinking up a fighting game... after I purchased the weapon pack I brought a couple of the weapons into Blender and took renders that would work as sprites... so I could have very detailed weapons in T2D :) First thing that came to mind was some sort of fighting game with weapons lol... the idea has been simmering on my mind all day. I had forgotten about the T2D public boards and found you two discussing it!

In my case the fighting game would be around weapons so I could probably get away with a less accurate collision system, maybe switching out a few different polys... though very interesting comments Josh...

If this idea pulls at my mind enough I might dive in and try and set some of this up, in any case I plan to create at least a basic version of this without any engine changes (showing off those new little weapons)... lol probably with my programmer art =/... will make for some good tutorials though...

Would be very interesting to see where you can go with it Demone... if you get T2D and need any help or want to talk about how we could work together to get some of this working feel free to drop me an e-mail at admin@razedskyz.com