Kruto+ is an OpenGL (fixed function) based 2D micro-framework.
You should consider it alpha quality; take everything with a grain of salt and pepper for that matter.
No shaders were harmed in the making of Kruto+.
Kruto+ has been extracted from the Kruto.js code base.
In order to get started you need to clone this repository and fetch the bundled submodules by opening up a Terminal window and issuing the following commands.
git clone git://github.com/icebreaker/krutoplus kruto+ cd kruto+
Before you start make sure that you installed all the required dependencies.
Note: Windows and Mac OSX users you are on your for now, but everything should work just fine without any changes.
Download premake from industriousone.com
and copy it to a location in your
sudo cp premake4 /usr/bin
You can install SDL from source or via your GNU/Linux distribution's favorite package manager. Odds are you already have it installed.
sudo yum install SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev
sudo zypper install libSDL-devel libSDL_image-devel libSDL_mixer-devel
Now that you have all the dependencies run the following commands in the
premake4 gmake make config=release
If all goes well and the birds sing in your yard you should have some pretty
executables in the
cd demos/basic ../../build/basic
That's all. Enjoy :)
- Fork the project.
- Make your feature addition or bug fix.
- Do not bump the version number.
- Send me a pull request. Bonus points for topic branches.
Copyright (c) 2013, Mihail Szabolcs
Kruto+ is provided as-is under the MIT license. For more information see LICENSE.