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 PATH.
sudo cp premake4 /usr/binYou can install SDL from source or via your GNU/Linux distribution's favorite package manager. Odds are you already have it installed.
Fedora
sudo yum install SDL-devel SDL_image-devel SDL_mixer-devel SDL_ttf-develDebian
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-devopenSUSE
sudo zypper install libSDL-devel libSDL_image-devel libSDL_mixer-develNow that you have all the dependencies run the following commands in the
kruto+ directory.
premake4 gmake
make config=releaseIf all goes well and the birds sing in your yard you should have some pretty
executables in the build directory.
cd demos/basic
../../build/basicThat'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.
