When comparing Allegro vs GLBasic, the Slant community recommends Allegro for most people. In the question“What are the best 2D game engines?” Allegro is ranked 19th while GLBasic is ranked 72nd. The most important reason people chose Allegro is:
The Allegro community has produced a lot of great tutorials and resources. Allegro [Wiki](https://wiki.allegro.cc/index.php?title=Main_Page), Mike Geig's Allegro [Tutorials](http://fixbyproximity.com/2d-game-development-course/), Rachel Morris' [Tutorials](https://www.youtube.com/watch?v=E4RqHtEAAds), CodingMadeEasy's [Tutorials](https://www.youtube.com/playlist?list=PL6B459AAE1642C8B4&feature=plcp).
Ranked in these QuestionsQuestion Ranking
Pro Supports desktop and mobile
Support for Windows, Mac OS X, Linux, iPhone, and Android
Pro Good engine architecture
Allegro is well designed, easy to use and has many useful features.
Pro Good documentation and lots of tutorials
Since it has been in development since mid-90s with hundreds of people contributing to both the engine and documentation, it has all of its bases covered when it comes to standard support.
Pro Per-platform library optimization
Allegro uses DirectX for Windows, and OpenGL for other targets.
Pro Freedom to implement your own game engine
You are not bound to the limits of existing game engines, and you can actually implement your own engine.
Pro Easy to develop with
Language is easy to use, with a fast compiler.
Pro Fast 2D
Pro Easy to learn
Forum support is great. No advertising in program or forums. Company has been going for over 10 years.
Unlike most multi-platform development systems, 3D is available across most of them.
Code can be written once and will work on supported platforms with very little modification.
Pro No hidden fees
PC version is free.
Full Multi-platform version requires one-off very reasonable price, and all further updates are free, however you can run a watermarked demo on your chosen platform with the free demo version.
Pro C/C++ support
C/C++ code can be included inline or as a DLL/.o/dylib file.
Pro HTML 5 compiling is now faster and works better
Pro Default GUI system works fine, and has all the needed widgets needed
Only problem is position is based on position of previous widget.
Pro Compiler is fast and produces efficient code
Pro Free for home development
Create apps for non commercial 2D programs running on Windows, Linux and Mac OSX. The extension to create programs for other platforms, 3D or network applications requires a license key. Otherwise the "Premium" programs are limited to 10 min runtime for test purposes. There is no trial limit for the development environment.
Easy-to-use networking system with either TCP or UDP.
Programmers reference guide, user guide and various others are free.
Pro Gaming related functions
Viewports, sprites, rotating/animating and zooming sprites, collision detection and pathfinding.
Con Learning curve for hobbyist developers
Hobbyist developers coding alone may experience a learning curve with Allegro of about 200 hours (if you are rusty on C++). To learn quickly, see Mike Geig's tutorials at Fix By Proximity. This learning curve may be fine if you are considering going professional, but are still unsure.
For hobbyist developers not planning on going professional, you may want to look into a complete 2D game engine, rather than a coding library. For example, there are "non-coding" engines that provide support for coded plugins or scripting. But, if you are a dedicated hobbyist planning to use Allegro as your coding library of choice, you can still develop great games as a hobbyist.
Con Isn't great for C++
If you are a fan of object oriented programming, and want to use this library, then the chances are that you are going to be creating a lot of wrappers for functions in this library.
In short, if you're a C++ person, it could be recommended to check out SFML instead.
Con Command set has hardly changed or been updated/improved over the years
Con Poor 2d collision detection with rotated sprites
2d sprite rotation with collision detection isn't present and requires some annoying run-arounds to achieve what is a staple of other game engines.
Con No multi-platform editor
Whilst Linux and Mac IDE's were started, they were never completed.
Con No clear way to monetize apps
It's impossible to place ads. There is a third party in-app purchase library hidden somewhere deep within the forums which hasn't been updated for years.
Con Issues don't get fixed
The Blender exporter and the 3D converter have been broken and remain unfixed for years.
Con Only supports .ddd 3D format
This format does not support bones and only keyframe animation. 3d files will become extremely large if there are animations in models.
Con HTML 5
HTML 5 compiling is rather slow, and doesn't allow all GLBasic features
Con Poor GUI creation library
Its library for GUI creation is abysmal and not acceptable.
Con Poor documentation
There is next to no documentation on using OpenGL commands in GLBasic.