When comparing pygame vs GLBasic, the Slant community recommends pygame for most people. In the question“What are the best 2D game engines?” pygame is ranked 16th while GLBasic is ranked 76th. The most important reason people chose pygame is:
Pygame uses Python as its scripting language. Python is widely considered one of the easiest languages to grasp even for beginners.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy Python syntax
Pygame uses Python as its scripting language. Python is widely considered one of the easiest languages to grasp even for beginners.
Pro Very easy to understand
The API is very straightforward.
Pro Good canvas system
Pygame has a drawing system that allows the user to create and draw on an unlimited number of canvases.
Pro Easy to develop with
Language is easy to use, with a fast compiler.
Pro Fast 2D
Pro Easy to learn
Pro Support
Forum support is great. No advertising in program or forums. Company has been going for over 10 years.
Pro 3D
Unlike most multi-platform development systems, 3D is available across most of them.
Pro Multi-platform
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.
Pro Networking
Easy-to-use networking system with either TCP or UDP.
Pro Books
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.
Cons
Con Deathly slow
Con Nonexistent community
No good forums, wiki, or other ways to reach other Pygame developers.
Con Very basic
Pretty much just a wrapper for SDL.
Con Pygame is a multimedia framework, not a game engine
Physics, AI and networking are not supported.
Con Messy documentation
The docs are messy, and some basic functions are infuriating to work out. There's even some places in the documentation where it's clearly wrong about how a method is called/what the arguments really do.
Con Outdated
Pygame uses a really old version of SDL and is missing some of the features developed for SDL2.
Con Hasn't been updated in years
Hasn't been updated in years.
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.