• Advertisement
Sign in to follow this  

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

This topic is 825 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

 

Site: http://oxygine.org

Twitter: [twitter]oxygine2d[/twitter]

Public Skype group: http://oxygine.org/in/skype_redirect.php

 

 

 

You would find examples, demos and other helpful information

 

Key features:

  • Clear C++ API
  • OpenGL(ES)2 rendering
  • SceneGraph and Event Handling model close to ActionScript3/Flash
  • Tweenings
  • Build for HTML5 and WebGL using Emscripten

 

 

 

Code examples:

//create sprite and display it
spSprite sprite = new Sprite();
sprite->setResAnim(gameResources.getResAnim("anim"));
sprite->attachTo(getStage());
sprite->setScale(0.5f);

//run spritesheet animation
sprite->addTween(TweenAnim(gameResources.getResAnim("anim2")), duration, loops));

//run position tweening
sprite->addTween(Sprite::TweenPosition(x, y), duration, loops));

//handle events
sprite->addEventListener(TouchEvent::CLICK, CLOSURE(this, &someClass::onClick));

//c++11 labmda event handler
sprite->addEventListener(TouchEvent::CLICK, [](Event*){ 
    printf("clicked!");
 });

Some interesting movies about Oxygine:

http://www.youtube.com/watch?v=d-Wf0krGoRU

http://www.youtube.com/watch?v=vHuGVzzHma8

http://www.youtube.com/watch?v=fgpZfNzejUo

http://www.youtube.com/watch?v=VEYzD0vdLG4

http://www.youtube.com/watch?v=bdZDvvpWRho

Edited by frankinshtein

Share this post


Link to post
Share on other sites
Advertisement

Hi! New huge update is available:

- reworked android make files

- reworked cmake files

- fixed SDL Android build

- fixed SDL iOS build

- added filesystem

- added zipped packs support

- removed system folder from data

- improved examples

 

Share this post


Link to post
Share on other sites

Hi! a lot of new updates:

- added Linux support

- reworked atlas packing

- reset/restore opengl resources

- many minor improves

 

and new game released :)

Share this post


Link to post
Share on other sites

Thank you :)

Today I uploaded new update to engine

- added big example-tutorial from 4 parts how to make game

- added tga support

- mac os x example

- linux is working

- reworked folders structure

and other improvements

Share this post


Link to post
Share on other sites

I just updated topic. 

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement