Hi, I'm author of Oxygine.
Oxygine is 2D C++ Framework. It could be build on top of the SDL2.0 or Marmalade.
It is free and available under MIT license.
please check site: http://oxygine.org
You would find examples, demos and other helpful information
- Clear C++ API
- OpenGLES rendering with batching. atlassing tools
- SceneGraph similar to Flash
here is small example of usage:
//create sprite and display it spSprite sprite = new Sprite(); sprite->setResAnim(gameResources.getResAnim("anim")); sprite->attachTo(getRoot()); sprite->setScale(0.5f); //run animation tween sprite->addTween(TweenAnim(gameResources.getResAnim("anim2")), duration, loops)); //run position tween sprite->addTween(Sprite::TweenPosition(x, y), duration, loops)); //handle events sprite->addEventListener(TouchEvent::CLICK, CLOSURE(this, &someClass::onClick)); //short syntax example sprite = initActor(new Sprite, arg_resAnim = gameResources.getResAnim("plus"), arg_scale = 0.5f, arg_onClick = CLOSURE(this, &HUD::clicked), arg_pos = Vector2(70, 55), arg_attachTo = getRoot());
Edited by frankinshtein, 20 October 2013 - 06:04 PM.