SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
Oxygine - 2D C++ framework based on SDL
dmuratshin


Joined: 06 Oct 2013
Posts: 14
Reply with quote
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:
Code:
//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());
View user's profileSend private message
some features
dmuratshin


Joined: 06 Oct 2013
Posts: 14
Reply with quote


View user's profileSend private message
dmuratshin


Joined: 06 Oct 2013
Posts: 14
Reply with quote
there are a lot of improvements
and new main feature is UI editor for oxygine
[/img]
View user's profileSend private message
Limanima


Joined: 09 Oct 2013
Posts: 75
Reply with quote
I'm very interested on this. I'm working on my own c++ engine. I'm going to check it.
View user's profileSend private message
dmuratshin


Joined: 06 Oct 2013
Posts: 14
Reply with quote
There are a lot of new features since last update.
There are new extenstions for oxygine:
https://bitbucket.org/oxygine/
- oxygine-movie for playing Theora movies with alpha channel
- oxygine-sound ogg sound/music player with streaming
- oxygine-freetype library
- oxygine-billing for in-app-purchases
- oxygine-spine for playing Spine animations
- oxygine-magicparticles for playing particles made with MagicParticles
View user's profileSend private message
bjadams


Joined: 15 Oct 2015
Posts: 11
Reply with quote
Looks interesting. I came across this whilst searching for an Advanced Sprites library for SDL

From what I see, documentation is a bit sparse tough....
View user's profileSend private message
NewbProgramming


Joined: 13 Feb 2016
Posts: 18
Reply with quote
Really nice library.
One note, your editor is made using Qt *look of disapproval Confused * Why not make it using your library Razz Rolling Eyes Question
View user's profileSend private message
Oxygine - 2D C++ framework based on SDL
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic