HOME | DD

Tetsuo72 — Flash 3D Render Test

Published: 2011-10-06 02:52:54 +0000 UTC; Views: 12065; Favourites: 28; Downloads: 247
Redirect to original
Description So the idea popped into my head a while back to throw together a simple 3D renderer in Flash for my boxing game. Way-longer-than-I-thought-it-would-take later, I have this little prototype. Apparently I'd forgotten way more 3D math than I thought... damn projection matrices and homogeneous coordinates...

The question remains whether the performance will be up to snuff when I throw in the rest of the gameplay... we'll see.

I might want to upgrade to Flash 10 one of these days, I think I could do more with that. Might help performance too; looks like they have more batching functionality to cut down on draw calls.

Controls:
WASD to move around, arrow keys to rotate the camera.
The controls seem to be a little unresponsive when run in a browser. Downloading it and running it with the Flash player might help.
Related content
Comments: 38

cristaghon [2012-03-03 00:52:02 +0000 UTC]

esta muy buena la imagen pero el protector en la cabeza que mal pero igual esta buena

👍: 0 ⏩: 0

freekosuave [2011-12-27 04:07:19 +0000 UTC]

I think having the ability to move around would just be more than a waste of time. Dont get me wrong, I think this looks really good. However, I also think that the time that would be taken to get something like this working that you could get so much more done with using the older static build. The only thing I think that is missing from the older build is something of a closeup when someone gets knocked down, and aside from that the basic system is in place. Its obvious that all you do is add some skins to the boxers and you have a long list of boxers to fight through.

Do not let me get in the way if this is what you want to do. I am just offering a subjective criticism. Do not look at this as me trying to put you down. I think the main issue here is that there may be issues with needing to have something of a supercomputer to be able to run this flash properly (Kinda like Crysis 1 when it was released). Maybe the whole keep it simple thing works out better in the long run, and maybe not.

👍: 0 ⏩: 1

Tetsuo72 In reply to freekosuave [2011-12-27 21:22:29 +0000 UTC]

I think movement about the ring would be a large addition to the gameplay, personally. Trying to rope or corner your opponent while at the same time trying to avoid being roped or cornered yourself would add another dimension. As the game stands now, it amounts to a lot of button mashing which isn't terribly compelling.

Also, you could try downloading the render test and running it with just the flash player. The controls seem to lag pretty badly when run from a browser window.

👍: 0 ⏩: 1

freekosuave In reply to Tetsuo72 [2012-01-02 06:31:43 +0000 UTC]

I had no real problem with the web version. As a proof of concept it works just fine. I would not be horribly concerned about lag at this point anyway. The thing that I would not want to see if you do go this route is that you just run around the ring and actively do not engage the other fighter. This seems more than possible as I have seen a few crappy boxing flash games already that seem to be similar in style (just google flash boxing game and brace yourself for the crap avalanche, you are warned). As an avid old school gamer I guess it is personal preference that the method I would want to see is one that is similar in style to the Punch-Out! games.

From a logistical standpoint also there needs to be a method to make use of cornering or being cornered in the game or again the movement mechanics are all really an undesired layer of complexity that does not add to the game in any real way.

👍: 0 ⏩: 0

KatrinaMacbeth [2011-10-16 22:27:34 +0000 UTC]

oh how fun! I wish I could do something like this WOnderful!!!!

👍: 0 ⏩: 1

Tetsuo72 In reply to KatrinaMacbeth [2011-10-25 14:53:38 +0000 UTC]

Glad ya like it! I hope it works out in the end, I think it'll add something to the final game!

👍: 0 ⏩: 0

aicongeiser [2011-10-16 02:17:15 +0000 UTC]

I'll probably throw in some sweat/saliva effects when punches connect if/when I add this to my game. And the boxers will almost definitely be topless (as they are in my current game), so no worries there
yeah! .. do not forget the big breasts and thongs in different colors and sizes = P.

And so the camera captures his face like breasts eh eh u / / / u and the tasting me cornered and sending them to the ropes = P

👍: 0 ⏩: 0

IzunaOtoshi [2011-10-10 22:51:51 +0000 UTC]

If this gets incorporated into the game, does that mean it will switch to first person? Stay third person, or maybe include options for both so the player can choose?

👍: 0 ⏩: 1

Tetsuo72 In reply to IzunaOtoshi [2011-10-10 23:32:26 +0000 UTC]

I was thinking it'd probably switch to first person. Though an over-the-shoulder view could possibly work also.

👍: 0 ⏩: 0

Green-Legend [2011-10-10 16:55:00 +0000 UTC]

Oh wow
At first I thought I wasnt doing something right when I opened this up as all I saw was the boxing gal in the distance of the ring, doing her standing shuffle. Might help to have some "Controls" listed above the description so people better see it, as I kind of missed it

But it's really cool Tet, makes you think of one of those games like vintage first person shooters on PC like Wolfenstein 3D. Might be hard to get the strafing down if its implented to a boxing game, but certainly is fun getting to manuever around the ring. About how long it take you to make this?

👍: 0 ⏩: 1

Tetsuo72 In reply to Green-Legend [2011-10-10 23:34:01 +0000 UTC]

Hehe, well to simplify the controls, you'd probably only have control of your position; the camera would just aim at your opponent. That'd help automate circle strafing I guess.

This took... way longer than I thought it would. Partly because I had apparently forgotten a lot of 3D math, and partly because Flash has absolutely horrid debugging tools.

👍: 0 ⏩: 1

Green-Legend In reply to Tetsuo72 [2011-10-12 16:44:54 +0000 UTC]

Hmm,
Indeed would probably help lessen the troubles of the duties of your fingertips if you had the camera at least keep you honed in on your opponent. As you'll have to focus on movement as well as punching/blocking. And that alone can be a bit tricky on using a keyboard control scheme for some. So keeping it smooth and simple does tend to work best

Ah, so it was a bit of a bugger to do? But got to hand it to ya, it's looking pretty interesting so far. Are you going to work on making this a game itself? Or implementing it to your prior boing game model you showed us here and there in updates through your gallery?

👍: 0 ⏩: 1

Tetsuo72 In reply to Green-Legend [2011-10-14 00:31:29 +0000 UTC]

I'll try to work this into my old flash boxing game if I can. If I can't... I'll probably just leave well enough alone. I'm not going to start a whole new game.

👍: 0 ⏩: 1

Green-Legend In reply to Tetsuo72 [2011-10-15 00:26:23 +0000 UTC]

Yeah,
Can imagine the gruelling feeling you'd get having to restart a process like that. As I can't forget the month by moth updates you did. Sounded like a LOT of work in updating and progressing such a project as that. But never know, might find it easy enough to integrate in spare bits when a hint of spare time here and there presents itself for ya.

But either way, pretty cool of you to share this with us.

👍: 0 ⏩: 0

aicongeiser [2011-10-08 15:09:40 +0000 UTC]

good job! looks promising ... do not forget the details of that when you hit this girl .... Sallivaara outbreak be the first person mode? there will be more sexy boxers with less clothes? xP ... I hope some 30 xD!

Keep it up!

👍: 0 ⏩: 1

Tetsuo72 In reply to aicongeiser [2011-10-09 18:14:40 +0000 UTC]

I'll probably throw in some sweat/saliva effects when punches connect if/when I add this to my game. And the boxers will almost definitely be topless (as they are in my current game), so no worries there.

👍: 0 ⏩: 0

Jose-Ramiro [2011-10-08 02:42:57 +0000 UTC]

Hey, nice.

👍: 0 ⏩: 1

Tetsuo72 In reply to Jose-Ramiro [2011-10-09 18:14:52 +0000 UTC]

Thanks!

👍: 0 ⏩: 1

Jose-Ramiro In reply to Tetsuo72 [2011-10-10 01:37:52 +0000 UTC]

You're welcome.

👍: 0 ⏩: 0

MCPBA [2011-10-07 20:33:39 +0000 UTC]

Looking good so far!

👍: 0 ⏩: 1

Tetsuo72 In reply to MCPBA [2011-10-08 00:16:19 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

IchibanYatori [2011-10-07 19:30:45 +0000 UTC]

Ganbatte! I hope this is the herald of a truly great accomplishment for you!

👍: 0 ⏩: 1

Tetsuo72 In reply to IchibanYatori [2011-10-08 00:16:12 +0000 UTC]

Haha, well, I'll most likely hook this in to the game I've been tinkering with for... ages. Hopefully it's not too much of a performance hit!

👍: 0 ⏩: 0

YA2012 [2011-10-06 16:06:25 +0000 UTC]

awesome,u will give me fla?

👍: 0 ⏩: 0

capitanmaverick [2011-10-06 15:58:58 +0000 UTC]

Nice on dude, hope to see more of your next game man! Keep up the good work!

👍: 0 ⏩: 0

boisleduc [2011-10-06 06:15:31 +0000 UTC]

Good work.. Looking forward for more

👍: 0 ⏩: 0

SBGF312 [2011-10-06 04:47:28 +0000 UTC]

the idea is really cool.

👍: 0 ⏩: 0

VeXeDZERO [2011-10-06 04:14:22 +0000 UTC]

This is probably just me and my machine, cause its always been a queer bastard when running flash based things, even though ive got the latest versions and some good hardware (Youd think that being able to tun Starcraft 2 on the highest settings with no issues on performance would count for something right?)
But I seem to have some issues here. The camera will continue to move around well after Ive released the button sometimes, as does the movement.
Like I said, its probably just my machine xD
Lookin wicked though man, Always wanted to try something like this myself. What did you use to do it?

👍: 0 ⏩: 2

Tetsuo72 In reply to VeXeDZERO [2011-10-07 00:48:12 +0000 UTC]

Try downloading it and running it in the Flash player. It does the same thing for me when it plays in a web browser. Probably some security layer or a priority issue or something in the browser.

And as far as I know, this thing is just brute force CPU power. All the transformations and stuff I do in Actionscript on the CPU. Flash might render some stuff using the GPU but I have my doubts.

All I used for this was Flash/Actionscript and math. There might be some third party 3D renderers out there for flash, but I just decided to build this one from scratch rather than look for one and then try to figure it out, heh.

👍: 0 ⏩: 1

VeXeDZERO In reply to Tetsuo72 [2011-10-07 07:49:55 +0000 UTC]

I shall check the download out, havnt really had a lot of time to do my usual DA rounds.
Hows this "Actionscript" work? I would love to try doing some simple animations with my characters, so Im lookiing for some advice.

👍: 0 ⏩: 1

Tetsuo72 In reply to VeXeDZERO [2011-10-08 00:15:07 +0000 UTC]

Actionscript is basically just Flash's programming language. Like any scripting language it's not compiled, which can lead to some maddening wild goose chases to track down bugs that a compiler would catch. On top of that, Adobe's debugging tools for AS are... lacking. I should probably look around to see if there's anything more powerful out there to debug with.

Complaints aside, it's still fun to play with though.

👍: 0 ⏩: 0

thejoetoknow1 In reply to VeXeDZERO [2011-10-06 04:46:25 +0000 UTC]

not just your machine, however my machine sucks pretty hard (barely runs SC2 on the lowest of settings) so I just plan expected it. I'm going to try running it out of a browser and see what's up then

👍: 0 ⏩: 0

fxboxing-fan [2011-10-06 04:10:29 +0000 UTC]

How many red bulls did she chug down before getting in the ring? Give that woman some decaf!

Aside from the hyperactivity it looks great

👍: 0 ⏩: 1

Tetsuo72 In reply to fxboxing-fan [2011-10-07 00:44:24 +0000 UTC]

Haha... yeah, the animation is a bit fast... I noticed that too but figured "meh" as far as a prototype goes.

👍: 0 ⏩: 0

MasterSaruwatari [2011-10-06 03:03:52 +0000 UTC]

I mean punches.

👍: 0 ⏩: 1

Tetsuo72 In reply to MasterSaruwatari [2011-10-06 03:08:08 +0000 UTC]

All in due time.

👍: 0 ⏩: 1

MasterSaruwatari In reply to Tetsuo72 [2011-10-06 03:22:10 +0000 UTC]

cool. I hope you switch up the controls.

👍: 0 ⏩: 0

MasterSaruwatari [2011-10-06 03:03:44 +0000 UTC]

i wanna throw some pictures.

👍: 0 ⏩: 0