• Advertisement
Sign in to follow this  

Unity Allegro 5.1 vs SDL 2.0

This topic is 1923 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am looking at porting my game to use either [url="http://wiki.libsdl.org/moin.cgi/APIByCategory"]SDL 2.0[/url] or [url="http://alleg.sourceforge.net/a5docs/refman/"]Allegro 5.1[/url] and can't decide which to use, both seem to have great support for Windows, Mac, Linux, and both somewhat support iOS and Android. The 3D and shader API seems better in Allegro and when posting on the forums I always get a response from the Allegro community, while not one person has answered an SDL question. I thought more people use SDL though?

Does anyone have any experience with both libraries? Edited by Rasterman

Share this post


Link to post
Share on other sites
Advertisement
I am currently using allegro 5 and am very happy with it. I have indirectly used SDL via pygame. While It is really simple it cannot do most of thing youd want. And 3d with SDL is a big no no. Allegro has and will continue to have better support as it is very actively in development. Not so much with SDL. Although I cannot complain about the community support I got from the pygame community.

Share this post


Link to post
Share on other sites
Thanks Lazerator, what platforms are you using Allegro on? Have you used multitouch with it?

Share this post


Link to post
Share on other sites
SDL 2.0 is still active! It has come great ways since the old 1.2 version that was also used in pygame extension. If you are going 3D then you are probably going to be using OpenGL and SDL, SDL would just handle window creation and input or even Allegro and OpenGL together. Note SDL and Allegro 4.X and bellow are 2D graphics libraries, in Allegro 5.x up they seem to have added built in function but I read that their not that great, so you would probably end up using Allegro with OpenGL. I haven't used Allegro since a couple years back, was the first library I learnt for 2D games then we started using SDL and Ive been liking it since. I have SDL working on all platforms also with no problems, currently working on iOS app using SDL and OpenGL. Also note to get the latest SDL you need to download it from the Mercurial repository. SDL also has SDL_image, SDL_ttf, SDL_mixer, SDL_net library so you can add audio, text, load other image types, and networking, they all come separate. Also you say that no one has answered your SDL question? from the SDL website? I check in there almost every day and most questions get answered, sometimes it can take a day or two since many members work a full time job and help out with SDL on spare time.

Share this post


Link to post
Share on other sites
[quote name='stevo58' timestamp='1349831047' post='4988558']Also note to get the latest SDL you need to download it from the Mercurial repository.[/quote]
Or get the latest snapshot from the site, which while may not be the most up to date, it's probably going to be more stable than what's in the repository. And doesn't lag behind by that much either, really. Edited by Sik_the_hedgehog

Share this post


Link to post
Share on other sites
I downloaded and tested SDL 2 with XCode 4.5 and it seems to be very much in development. Only half of the SDL tests compile and of those none actually run or do anything.

Share this post


Link to post
Share on other sites
[quote name='stevo58' timestamp='1349831047' post='4988558']
in Allegro 5.x up they seem to have added built in function but I read that their not that great, so you would probably end up using Allegro with OpenGL.
[/quote]

A5 does not have its own 3D routines, and this is by design. It directly interfaces with OpenGL (or DirectX) to allow 3D functionality if it is wanted.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
  • Advertisement
  • Popular Tags

  • Advertisement
  • Popular Now

  • Similar Content

    • By RoKabium Games
      Another one of our new UI for #screenshotsaturday. This is the inventory screen for showing what animal fossils you have collected so far. #gamedev #indiedev #sama
    • By eldwin11929
      We're looking for programmers for our project.
      Our project is being made in Unity
      Requirements:
      -Skills in Unity
      -C#
      -Javascript
      -Node.js
      We're looking for programmers who can perform a variety of functions on our project.
      Project is a top-down hack-and-slash pvp dungeon-crawler like game. Game is entirely multiplayer based, using randomized dungeons, and a unique combat system with emphasis on gameplay.
      We have a GDD to work off of, and a Lead Programmer you would work under.
      Assignments may include:
      -Creating new scripts of varying degrees specific to the project (mostly server-side, but sometimes client-side)
      -Assembling already created monsters/characters with existing or non-existing code.
      -Creating VFX
      -Assembling already created environment models
      If interested, please contact: eldwin11929@yahoo.com
      This project is unpaid, but with royalties.
       
      ---
      Additional Project Info:
      Summary:
      Bassetune Reapers is a Player-verus-Player, competitive dungeon crawler. This basically takes on aspects of dungeon crawling, but with a more aggressive setting. Players will have the option to play as the "dungeon-crawlers" (called the 'Knights', or "Knight Class", in-game) or as the "dungeon" itself (literally called the 'Bosses', or "Boss Class", in-game). What this means is that players can choose to play as the people invading the dungeon, or as the dungeon-holders themselves.
      Key Features:
      -Intense, fast-paced combat
      -Multiple skills, weapons, and ways to play the game
      -Tons of different Bosses, Minibosses, creatures and traps to utilize throughout the dungeon
      -Multiple unique environments
      -Interesting, detailed lore behind both the game and world
      -Intricate RPG system
      -Ladder and ranking system
      -Lots of customization for both classes s of customization for both classes
    • By RoKabium Games
      Custom coffee mugs have arrived... More caffeine!
      Have a great weekend everyone! 
      #gamedev #indiedev #sama #caffeine
    • By Atwo Studios
       
      Hey guys,

      Anthony here from Atwo Studios bringing you some new updates for the new year!
      In this video I go over our game ROY, the new games and some general updates to the company!

      If you have not checked out ROY feel free to give it a try! Many people have said they enjoyed the game thus far!
      ROY: https://goo.gl/o6JJ5P
       
    • By Affgoo
      https://play.google.com/store/apps/details?id=com.NE.Alien
      still a lot of work to do, but its pretty stable  please let me know what you think <3
      Atlas Sentry is a game of destroy everything. Using your turret, simply swivel and shoot your way to victory, upgrading your weapons to unleash destruction on the variety of spaceships. The bigger your combo’s the more score you get! Earn silver as you play and then purchase new weapons and abilities to better deal with your enemy. Different enemies use different tactics and weapons, work out your own priorities in their destruction order. 

      Features: 
      **2 different game modes 
      **A level select mode with 20 difficult levels including a final boss, can you defeat it? **Arcade mode of endless destruction, how long will you last? 
      **High scores to compete against others, see who can take the top spot. 
       
  • Advertisement