Jump to content

  • Log In with Google      Sign In   
  • Create Account

frankinshtein

Member Since 06 Mar 2013
Offline Last Active Oct 04 2014 01:53 PM

Topics I've Started

2D C++ Framework for Mobile and PC (free, open source)

06 March 2013 - 04:54 AM

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

 

Key features:

  • Clear C++ API
  • OpenGLES rendering with batching. atlassing tools
  • SceneGraph similar to Flash
  • Tweens

 

 

 

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());

debug_tools.giftext_align.gifmasking.gif


PARTNERS