Unity game engine for 2D(ish) games?

Discussion in 'Mac Programming' started by HiRez, Dec 3, 2009.

  1. HiRez macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #1
    I've checked out a bunch of documentation and screenshots for the Unity engine. It seems like it is heavily geared towards 3D first-person shooter type games, but what about 2D and 2.5D type games? Could you (or maybe a better question is would you) use Unity for something like Mahjong, Bejeweled, Tetris, Starcraft, a side-scrolling shooter, an isometric MMORPG or dungeon crawler, or other non 3D shooter style games? It just seems hard to believe that one development environment would seamlessly support all possible types of game styles.

    And just as a more general question, how do you like developing with Unity for those of you who are using it? Have you run into any roadblocks in your development, missing features, restrictions? And for simpler games types, is it worth it? Would you be better served by just going with let's say Objective-C (for a Mac/iPhone game) and maybe writing a few things from scratch but gaining complete control?
     
  2. Eric5h5 macrumors 68020

    Joined:
    Dec 9, 2004
    #2
    It's heavily geared toward 3D games since it's a 3D engine. There is no bias toward first-person shooter games at all. Of the hundreds of finished Unity games, there are hardly any 3D shooters...I can only think of two or three offhand.

    A lot of (maybe even most) Unity iPhone games are 2D. The methods used are different compared to traditional 2D, since you're still using a 3D engine. This article has a bit of info on creating Zombieville USA in Unity and how the art was done.

    Could you? Sure. Would you? I personally would, yes, because I like Unity and don't feel like learning something else at this time. ;) More seriously, features like the physics engine and so on add to the game size whether you're using them or not, so you could consider that additional overhead that you may not need or want, but on the other hand, you can easily add effects to enhance the experience of otherwise 2D games, like the Unity game Big Bang Brain Games does.

    Unity doesn't care what kind of game you're making. Aside from being a 3D engine, what you do with it is up to you. It's an engine, not a game-maker. It seamlessly supports all possible game types in much the same way that a C++ compiler seamlessly supports all possible game types.

    It's great. Seamless pipeline, no real limitations...if there are no built-in functions that do what you need, you write your own. If you absolutely insist on iPhone games that are <10MB, then it's difficult to get Unity games that small and still have any reasonable amount of content, and even then you need iPhone Advanced to do it. Other than that (and I regard that basically a non-issue anyway), there are very few games that I wouldn't use Unity for.

    --Eric
     
  3. SRossi macrumors regular

    Joined:
    May 27, 2009
    Location:
    Glasgow, Scotland
    #3
    There is a tutorial from Unity that shows how to create a 2D game find it here.

    Yeah it does focus heavily on 3D but I sure that it was built to be a 3D games engine, but 3D must derive from 2D so using the engine in the correct way would create good looking 2D games.

    Hope this is what you were looking for.

    Stephen
     
  4. HiRez thread starter macrumors 603

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #4
    Thanks for the answers, Eric. That link about the making of the Zombieville U.S.A. was great, an inspiring story for small developers.

    Also a great link, thanks!
     
  5. VPrime macrumors 68000

    VPrime

    Joined:
    Dec 19, 2008
    Location:
    London Ontario
    #5
    Aside from what is stated here, creating isometric games is really easy as well. For an assignment I recreated the first level from the first metal gear solid game.
    It is just a matter of getting the correct angle for your camera.
    [​IMG]
     
  6. chrono1081 macrumors 604

    chrono1081

    Joined:
    Jan 26, 2008
    Location:
    Isla Nublar
    #6
    Unity is excellent. I'm currently working on a 2D project for Unity (in real infancy stage. I'm still playing around with graphics styles) but from what I've used in Unity its great. I've worked through the tutorials, built a few concept levels, and am now starting to make a game for it.

    To make 2D games in Unity simply lock the Z axis. You still have all the great things real time lighting, cookies (if you have the pro version) etc.
     
  7. Eric5h5 macrumors 68020

    Joined:
    Dec 9, 2004
    #7
    You don't need Pro for that actually.

    --Eric
     

Share This Page