Duality - a 2D Game Development Framework

Duality is a modular 2D game engine that provides its own visual editor. It's highly extensible, written entirely in C# and backed by OpenGL.

Getting Started

Engine Features

  • Plugin Architecture

    Easily introduce game logic via plugin

  • Component Based Design

    Allows your own code to blend in seamlessly

  • Base Infrastructure

    Rendering, Audio, Physics, User Input, ...

  • Content Management

    Takes care of all your game resources

Editor Features

  • Live Editing

    Preview and Test directly in the editor

  • Hot-Reload Resources

    Modified Assets are automatically reloaded

  • Hot-Reload Plugins

    Write code and test it directly without restart

  • Modular Design

    Tailor the editor exactly to fit your game

Typical Workflow

For a lot of game libraries, your code has the active role of setting everything up and managing it. These roles are reversed here: Your primary job is to define objects and specify their behaviours - Duality can handle all the rest.

  1. Import Assets

    Dragging files into the editor and dragging objects into the game.


  2. Write Code

    Typing C# code in Visual Studio and compiling occasionally.


  3. Attach Logic

    Adding bits of your code to actual objects in the game.

Screenshots

Duality is being constantly developed since 2011 - and it's just waiting for you to unleash its potential.