Unity3D to Flash First Person Shooter game conversion

January 3rd, 2012 by Slav

Had some free time around Christmas, so I decided to have a look at Unity 3D since it looks like (at this time) only reasonable way to do 3D in flash. Yes there are other 3D engines out there like Alternativa, Flare 3D, Away 3D, but none of them have a visual editor that comes even close to the Unity’s IDE.
The version that supports export to flash have been around a few weeks now, so I thought I’d give it a try.

Firstly I did a scene with the high poly count that tested the GPU rendering. This was absolutely fine, as the performance relied heavily on the GPU.
One thing I noticed though, that Terrain object wasn’t being rendered ? I guess it’s because in Unity Terrain is more of an abstract construct / game object rather than actual mesh.. Although, I’d imagine it would make sense to converted to editable mesh for flash ?

Secondly I tried converting an existing FPS game. It was a FPS tutorial made by Graham McAllister.

You can see the result here.

The conversion was pretty straightforward, there were a few compiler errors that needed fixing, but nothing too major.

The game itself work quite allright, there are some bits missing (like the lines of fire from the automated shooting robots) , but I guess it could be down to me not having a pro version..

The swf file size is 8.6 MB which is pretty hefty compared to normal 2D games or websites, but then, it’s a complete game , with lots of textures, meshes and sounds.

Also absence of mouse lock is quite evident, but this is fault of the flash plugin, not Unity. Support for mouse lock is coming soon though!

All in all, this is still a preview version, I imagine a lot of things will be fixed , optimised , added.

So far I am quite impressed (well done Ralph and team !)  and we’ll see how will it compare to the Unreal Engine to flash conversion!

Posted in flash, Unity3D

11 Responses

  1. Thai Bui

    Thanks for the post of the game. I was curious of how a conversion would run on my decent setup. I think this build is a great direction. I don’t care what people say, Flash isn’t dead.

  2. Farid Valipour

    Thanks and appreciate mate.

    As you know in Unity when you export for unity web player ,it has a stream option that divide files based on Scenes but in flash whole game only convert and make just one .swf that causes that it be big.
    any Idea from you.

    BR

  3. Slav

    Farid : see http://durej.com/?p=242#comment-39013

  4. pilgrim jewellery wholesale

    Right away I am ready to do my breakfast, afterward having
    my breakfast coming yet again to read additional news.

  5. professional link building service

    Does your blog have a contact page? I’m having problems locating it but, I’d like to
    shoot you an email. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it develop over time.

    Feel free to surf to my blog post professional link building service

  6. hentai games

    My developer is trying to convince me to move to .
    net from PHP. I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using Movable-type on a variety of websites for
    about a year and am anxious about switching to another platform.

    I have heard very good things about blogengine.

    net. Is there a way I can import all my wordpress
    posts into it? Any help would be really appreciated!

  7. hermes futurama

    I have been exploring for a bit for any high quality articles or
    weblog posts in this kind of area . Exploring in Yahoo I eventually stumbled upon this
    site. Reading this information So i am happy to show that I’ve an incredibly just right uncanny feeling I found out exactly what I needed. I most definitely will make certain to do not disregard this website and give it a look regularly.

  8. Solomon

    You must buy fireworks online from a reputed company to ensure that you get the
    best deal. s a great place to go trekking, hiking and exploring.
    Whether you know them as sky lanterns, floating lanterns
    or flying lanterns, the truth is that these small objects have become very
    dear to us.

  9. miscrits volcano

    My family members always say that I am wasting my time here at net, but I know I am getting knowledge everyday by reading
    such pleasant posts.

  10. download minecraft

    I’m amazed, I must say. Seldom do I come across a
    blog that’s both equally educative and engaging, and let me
    tell you, you’ve hit the nail on the head.
    The problem is something that too few folks are speaking intelligently about.
    Now i’m very happy that I found this during my hunt for something regarding
    this.

  11. free gems clash of clans

    My developer is trying to persuade me to move to .net from PHP.

    I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using WordPress
    on several websites for about a year and am nervous about switching to another platform.
    I have heard fantastic things about blogengine.net.
    Is there a way I can transfer all my wordpress posts into it?
    Any help would be greatly appreciated!