Easy2D is an object oriented game library that makes possible writing 2D tile-based games with speed and ease. It encapsulates lots of common tasks found in these games, such as: tile maps, animated sprites, bitmap fonts, etc., and is written in C++ using SDL for input and rendering, and Audiere for audio.
As of version 0.0.9 (alpha) it offers some cool features:
- Sprite and animation controller
- Tile maps
- Images of several formats*
- True Type (*.ttf and *.fon) fonts
- Bitmap Fonts
- Music and SFX playback, with group volume control
- Keyboard and Mouse event callback
- Resource manager (for memory optimization)
- A nice flow control, by the use of methods OnInit, OnRun and OnQuit
- A built-in game loop (inside method OnRun)
- Exception handling
- ... and a lot of effort to bring up some other features ! ;)
* Currently Easy2D supports the same image file formats supported by SDL_image, which are: BMP, PNM (PPM/PGM/PBM), XPM, LBM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.
Easy2D makes use of other libraries, listed below:
And also has support for tile maps made with Tiled, and for Bitmap Fonts created with F2IBuilder
* Easy2D does not use SDL_ttf by default, see the Makefile for details.
Easy2D is released under the zlib License. This license is very simple and very permissive, go to the LICENSE file on the root of the distribution for its complete text. Just remember that Easy2D uses other libraries, and they have their own licenses that must be respected.
To get started with Easy2D, check out the Tutorials
section. Don't forget to compile the library: check out the Makefile located at the root of the distribution.
Please, unless you are interested in helping with development of Easy2D, don't mail me if you can't run or install it, because this is still an alpha version, and it may contain several bugs and problems. Please be patient until it goes Beta, or use it at your own risk! ;)
Special thanks to:
- Eduardo Nunes Pereira: for testing and improvement suggestions;
- Joao Roberto Sampaio: for testing and improvement suggestions;
- Oskari Timperi: for contributing with the project sending his modifications on the code;
- Rodrigo Delduca: for fixing the window icon bug;
- Selma Shimono (my wife): for C/C++ consulting and for not dumping me out because of this project;
- W. C. Bubel: for the algorithm that decompresses Tiled gzipped map data using zlib.
Copyright (C)2004-2008 by Jonatas de Moraes Junior