When comparing Monkey X vs SFML, the Slant community recommends Monkey X for most people. In the question“What are the best 2D game engines?” Monkey X is ranked 25th while SFML is ranked 28th. The most important reason people chose Monkey X is:
Monkey X has a selection of great [built-in modules](http://www.monkey-x.com/Monkey/modules.php). * Graphics * Audio * Input * Data and Filesystems * Networking * Math * Text and Strings * Collections * Online Services
Ranked in these QuestionsQuestion Ranking
Pro Built-in modules for quickly building games
Monkey X has a selection of great built-in modules.
- Data and Filesystems
- Text and Strings
- Online Services
Pro Native code support
Developers can make native calls directly from Monkey code. This allows access to any native functionality and platform-specific features.
Pro You can create custom targets
The language gives you the possibility to build your own targets. You are not limited to the targets officially supported.
Pro Low cost license fee
All target platforms for a fair one off license fee.
Pro Native module support
You are not restricted only to the modules you get from the official release. You can build your own stuff. Even build your own "app" module. It feels limitless. In comparison with other cross platform solutions, you actually get the translated source code and you can play with it if you want.
Pro Easy to learn
With it's Object orientation and clean syntax its a brilliant language to learn if you have never done any programming before and yet still has all the power it needs to make full games and apps.
Pro Uses a great, easy to learn language
Monkey X uses a custom programming language (called Monkey) for all its scripting needs. Monkey is rather easy to learn, it's object-oriented which will help most programmers with understanding it. It's also statically typed and uses a garbage collector, helping to avoid manual memory management.
Pro Partly open-source
The entirety of the base-language itself is open source. Commercial modules such as Mojo for non-free platforms cost a one-time fee. Though Mojo is not free for all targets, the targets for these platforms are, meaning it is possible to implement other frameworks for these targets.
The Desktop (GLFW and C++ based) and HTML5 implementations of Mojo are currently free and open source.
The language's development is completely public, and is managed via GitHub.
Pro Free HTML5 and Desktop (GLFW) target platform
The free version of Monkey X lets you compile to HTML5 or Desktop (GLFW). Other platforms such as iOS, Android (and OUYA), XNA, Flash and Windows 8 (Phone) require the paid version of Monkey X Pro.
Monkey X is a cross-platform game engine. It allows developers to run the same code on multiple platforms, including iOS, Android, Windows Mobile, Flash, Windows, Mac OS and Linux.
The development environment supports Windows, OS X, and Linux.
Pro Not running in its own VM
Unlike other multi-platform engines (Unity3D, Corona, etc), Monkey-X games do not run explicitly in their own virtual machines. Your code is translated into the native languages of each target platform, and then compiled as a native executable. However, just as native games, on platforms such as Android (Currently), and HTML5, games will be ran through the targeted platform's usual VM(s). That being said, you won't be dealing with a proprietary virtual machine, so you won't experience any real overhead when compared to a native game.
Pro Made by the Mark Sibly Factor
The Mark Sibly Factor denotes that a programming language will be easy to learn, fun to learn and allow any age group ( within Cognitive Reason ) to program games and great games. The Mark Sibly Factor denotes also that the games programming language you purchase will be backed by decades of compiler programming experience, game making tool programming and finally a Game Programming Language that kicks Ass.
Pro Free for commercial releases
With the free version of Monkey you are still able to create commercial HTML5 and Desktop games.
Pro Many community modules available
Pro Drawing Commands
Drawing commands are easier to read and edit than is manipulating scene graphs. You can immediately see in your code what's going to be drawn and in what order. Transformations are a no-brainer too.
Pro Lots of great examples
Monkey X includes over 50 examples ranging from complete sample games to demos of single features.
Pro Object oriented programming
MonkeyX is an object-oriented dialect of BASIC that's easy, clean and powerful.
Pro zlib/PNG license
In short, SFML is free for any use (commercial or personal, proprietary or open-source). You can use SFML in your project without any restriction. You can even omit to mention that you use SFML -- although it would be appreciated.
Pro Can be combined with OpenGL
If you hate something about the way SFML handles graphics, you can just combine it with OpenGL. It's completely smooth and works as expected, without any additional dependencies.
Pro Active community and wiki
You can ask questions on their own personal forum which is full of users, and their wiki is constantly being maintained. They even have an IRC
Pro Works on every platform
SFML 2.2 brought forth Android & iOS functionality, and SFML games work on Linux, Mac and Windows out of the box, since SFML is written with OpenGL.
Pro Great documentation
SFML is very well documented, even with short examples of use for many functions and modules. Furthermore, there are books like 'SFML essentials' and 'SFML for game development' which teach you how to use this library to its fullest.
Pro Good for OpenGL
If you are thinking about using OpenGL, look no further, you can open a window, and handle events in less than 15 lines, and it provides input, time, and even networking, plus alot more. It has become my favorite c++ library :D
Pro Great library
SFML is a collection of modular, well designed libraries you can implement an engine or game on top of. The API provides tons of good documentation and is very straightforward to use. You can get a game up and running with SFML quite quickly and with minimal effort.
Pro Clean code
An SFML project's code-base is usually clean and easy to read. All public SFML classes are under the namespace "sf" so it is easy to tell which code is yours and which belongs to SFML (of course you can stop this by typing
using namespace sf;).
Pro Available in many languages
There's support for many languages besides C++, current supported languages are: C, .NET, Crystal, D, Euphoria, Go, Java, Julia, Nim, OCaml, Pascal, Python, Ruby and Rust, and this list is constantly growing
SFML is extremely beginner friendly and even provides pre-built libraries for your IDE of choice on Windows. Besides the fact that it's extremely well documented, they also have a set of tutorials that walk you through every module.
Pro Modern C++11 implementation
SFML is one of the few good C++ frameworks out there to actually make full use of the language. It's extremely well optimized and it plays well with anything you throw at it.
Con The documentation is not very thorough
The documentation contains a reasonably detailed language overview, and a somewhat-generated list of the included modules, classes, and methods. Module descriptions are rather lax, but usually present. Method descriptions tend to be short, and a majority of them contain no usage snippets; most parameters have very minimal descriptions. And there are no community collaboration features to help improve it, besides GitHub.
Con The included IDE is poor
Although better IDE'S are availabe for a price, the default one is bare bones and lacks functionality
Con No real asset store
Untangling how to keep assets in the ".data" requires attention and a filenaming convention.
Con You'll have to learn a new programming language
Even though Monkey is rather easy to learn and borrows a lot of concepts from more popular languages, having to learn a new language develop games is a lot of friction for people that already know how to program in other languages..
Con limited OS export targets with free version
Free version only targets Desktop (macOS, Windows, Linux) and HTML5, not mobile.
Con No GUI editor or IDE
Does not include any IDE or media editor. It's purely source code.
Con Messy sprite management
Sprites retain all of the operations applied to them, whether that be a new position or a rotation. This makes sprite management somewhat annoying.
Con Not specifically a 2D game engine
It isn't really an engine, more of a collection of modular, well designed libraries you can implement an engine or game on top of.