Skip to content

truonglvx/ouzel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ouzel

Ouzel v0.20

Build Status Build Status

Ouzel is a C++ game engine mainly targeted for development of 2D games.

Supported platforms:

  • Windows Vista, 7, 8, 10
  • OS X 10.8+
  • Linux
  • iOS 7+
  • tvOS 9+
  • Android 2.3+

Supported rendering backends:

  • Direct3D 11
  • OpenGL 2 and OpenGL 3
  • OpenGL ES 2 and OpenGL ES 3
  • Metal

Supported audio backends:

  • XAudio2
  • OpenAL
  • OpenSL ES

Windows Phone platform support is under development.

Features

  • Cross-platform (Windows, OS X, iOS, tvOS, Android and Linux supported, and Windows Phone support under development)
  • Multi-threaded (separate threads for rendering and game update)
  • Scene management
  • GUI helper classes and management
  • Bitmap font support
  • Xbox 360 gamepad support
  • OS X, iOS and tvOS gamepad support
  • Node animation (including tweening) system
  • Particle systems
  • Resource caching system
  • Localization support via loading string translations
  • Audio engine for sound effect playback

Example app

The following code will open a 640px x 480px window:

ouzel::Engine engine;

void run()
{
}

ouzel::AppPtr ouzelMain(const std::vector<std::string>& args)
{
    ouzel::Settings settings;
    settings.size = ouzel::Size2(640.0f, 480.0f);
    engine.init(settings, std::bind(run));
}

Showcase

2D platformer Bear Slayer is being developed using Ouzel engine.

Bear Slayer

Compilation

Ouzel uses rapidjson and stb submodules. The following commands have to be run after cloning Ouzel engine:

$ git submodule init
$ git submodule update

Makefiles and Xcode and Visual Studio project files are located in the build directory. Makefiles and project files for sample project are located in the samples directory.

To build Ouzel for Raspbian pass "platform=raspbian" to make as follows:

$ make platform=raspbian

System requirements

  • Windows 7+ with Visual Studio 2013 or Visual Studio 2015
  • OS X 10.10+ with Xcode 7.2+
  • Any reasonable new Linux distro (including Raspbian)

Getting help

You can ask question in the following locations:

License

Ouzel codebase is licensed under the BSD license. Please refer to the LICENSE file for detailed information.

About

C++ 2D game engine for Windows, OS X, Linux, iOS, tvOS and Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 63.3%
  • C 18.8%
  • Objective-C++ 9.7%
  • Objective-C 7.1%
  • Makefile 0.6%
  • Shell 0.2%
  • Other 0.3%