home subscribe to email updates subscribe to RSS updates

MB3D: My Flash 3D Engine

So I’ve decided to show off the 3D engine that I programmed late last year. It was quite an effort as support for this sort of project in Flash is still quite thin.

The engine is still (and will probably forever remain) in alpha release - though I guess it has served its purpose as I’ve already used techniques learned from this exercise in other programs.

MB3D Engine

The engine has a few modes. The mode being demonstrated here shows how it supports both built-in objects and sprites.

Features

  • Supports use of Sprites, wireframe objects and filled objects
  • Inbuilt library of common objects
  • External XML library support
  • Totally object orientated. Potential for unlimited players, each with unlimited cameras and weapons.

Instructions

  • Click anywhere on the applet to focus on it

Movement

  • LEFT and RIGHT arrow keys - pans camera left and right
  • UP and DOWN arrow keys - moves camera forwards and backwards
  • R and F - moves the camera up and down the y axis

Rotation

  • A and D - rotates the camera around its y axis (yaw)
  • W and S - rotates the camera around its x axis (pitch)
  • Q and E - rotates the camera around its z axis (roll)

Misc

  • V - levels the camera (useful when you get lost!)

Please leave a comment with your feedback and questions…


« My Alphabet Mover v2
AddThis Social Bookmark Button

Related Posts:

Comments:

Sam said,

April 29, 2006 @ 10:46 am

I have the smartest boyfriend in the world. This is my favourite one!

Hey all you nerds out there. You are obviously checking this stuff out, what with 9 views recorded. Why don’t you leave a comment about my boyfriend’s cool 3D engine?

MB said,

April 29, 2006 @ 8:02 pm

Sorry about that…. she’s quite protective :)

Michael (createage) said,

May 5, 2006 @ 4:44 pm

Well I believe this is you… you visit my blog quite often, and I am very thankful for that.

Seriously this is dope :)… I’m curious as to whether or not you’d be interested in adding me as a friend, and if you’d mind if I did the same for you. I’d like to get my own little group of developers that I could rely on. You’ve got mean talent :).

TakeCare
_Michael

MB said,

May 5, 2006 @ 5:03 pm

Thanks for the kind words… I’m going to add a few more demos of the engine in the next few days.

It was quite weird - I was just reading about your new job and this came through!

Congrats, mate!

PS. I’ve added you to my ‘Actionscripters’ list.

MM said,

May 14, 2006 @ 7:01 pm

Brilliant work!

Dauntless said,

May 16, 2006 @ 5:15 am

That is so really cool !

I wish I had some more time to do some experiments… I hate school for taking in all of my ‘after-school’ time :@

David said,

June 7, 2006 @ 10:29 pm

Congratulations on your First Class Honours!
Welcome to the M&C SAATCHI Digital Team!!

Brain Hu said,

November 1, 2006 @ 4:06 pm

Hi,Michael!
I am a Chinese ActionScript Fan!
It’s my first time visiting your Blog!
Amazing by you work,Flash 3d Engine!!!
you set an example for me!
thx!

glenndavid said,

November 27, 2006 @ 6:42 am

i was wondering if you could send me a package to create somthing like it myself (a .fla maybe? a .swf? an .as?)

i am doing a school project about advanced Flash use and Actionscripting in modern webdesign.

Thank you very much, i love mb3Digg, i can look arround in it for hours!

Greets

Glenn

MB said,

November 27, 2006 @ 8:20 am

Hey Glenn / David / glenndavid - thanks for your comment!

I’m not ready to release any code yet (I’m still deciding on how far I should take this before releasing it into the wild). I am creating a separate site for mb3Digg which will launch sometime soon… and there you’ll be able to register your interest if you wish to contribute to the project.

As for your project and getting into 3D in flash… these tutorials at Kirupa.com are really great for getting your head in the right space - http://www.kirupa.com/developer/actionscript/3dindex.htm - however, I think it’s really important to research into how “real” 3D engines are created and try to incorporate these ideas as much as possible.

Good luck with it! Don’t try to bite off too much for a school project… and when you’re done, send through a link with what you come up with.

joey said,

November 14, 2007 @ 4:16 pm

dude how sweet is that!? im jealous,i always wantedto learn actionscript. id be satisfied with a little game but jesus, thats gnarly.

RSS feed for comments on this post · TrackBack URI

Leave a Comment



« My Alphabet Mover v2