Irrlicht Engine for 2D Game?

Discussion in 'Game Development (Technical)' started by just4phun, Jun 11, 2007.

  1. just4phun

    just4phun New Member

    Joined:
    Jun 6, 2007
    Messages:
    3
    Likes Received:
    0
    I am leaning towards using the Irrlicht Engine for a 2D game. The game will consist mostly of GUI elements, its really a simulation/RTS (SimCity'ish). I looked at SDL, Torque and a few other SDK/tools but the Irrlicht Engine is very impressive. I know it is total overkill for what I need but I think it will be great to add 3D elements to the game in the future.

    Has anyone used this engine for 2D GUI-based game/sim? Is there a GUI SDK or GUI extension for Irrlicht that someone has written? I would be nice to just have to skin rather than develop the GUI. Am I crazy for choosing this engine for my game?

    Thanks.
     
  2. jankoM

    Indie Author

    Joined:
    Feb 17, 2005
    Messages:
    1,003
    Likes Received:
    0
    I think irrlicht allready has a GUI and it also has a 2D library made by some user on forums... I think its called "magic"-something.... It was pretty active a while ago that I looked at it.
     
  3. Backov

    Original Member

    Joined:
    Oct 23, 2005
    Messages:
    812
    Likes Received:
    0
    If you're considering Irrlicht for this, also consider Ogre.. It not only has a standard GUI library (CEGUI), it has 4 or 5 others, all written in a "lighter" fashion.

    It also has the "magic" 2d library, the guy that wrote it switched to Ogre and ported it.
     
  4. just4phun

    just4phun New Member

    Joined:
    Jun 6, 2007
    Messages:
    3
    Likes Received:
    0
    Thanks I will definitely check it out.
     
  5. KG_Brad

    KG_Brad New Member

    Joined:
    Oct 31, 2006
    Messages:
    116
    Likes Received:
    0
    I'm using Irrlicht for my FPS game, but for 2D games, I wouldn't recommend it. IMO, the code for 2D Irrlicht games seams a bit too high level, making it really hard to code certain features. This is just my opinion, but I prefer libraries like Allegro and SDL. If you wanted to add 3D elements to your game, SDL can do that via OpenGL. Allegro gives you more control over input, sound, etc...

    For fully 3D games, Irrlicht is pretty good. I've seen a bunch of good projects (mostly shooters) come out of the Irrlicht community.
     
  6. IPv6

    IPv6 New Member

    Joined:
    Nov 27, 2006
    Messages:
    15
    Likes Received:
    0
    i`m using Irrlicht for my 2d casual game. From my expirience, Irrlicht hardly usable for 2d games out-of-the-box, but slight modifications makes it perfect for this type of games, i can say!
    Default GUI/2D API in irrlicht is somewhat useless because of
    - built-in resolution dependancy
    - 2d drawing is not using hardware smoothing by default
    - poor alpha support (you can not have alpha channel in texture and "fade" value on single sprite at the same time)
    - poor font support (no support for antialiased/colored fonts by default)

    But this things are easily fixed (as any other things in irrlicht). I finished with rewriting font-related features using billboards and completely ripped away 2d part of the irrlicht. After adding those missing functionality everything goes smooth and nice. And i can make 2d/3d games using the same engine from now (not to say about build-in Mac/linux support), which pleases me a lot (i`m not planning to do porting, but it easier with irrlicht).
    but anyway... irrlicht is cool! ;)
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer