Ruby ❤️ Gamedev

Welcome to the Ruby game development community.

Much of this software is still in development, but feel free to have a look around and break things while you wait.

Create your own 2D games

It’s easy to get started

Entity Component System

Learn just what you need to get started

A lightweight framework decouples game objects from game logic. This allows you to easily share small logic components between different game objects.

An entity is a unique game object containing a set of components.

You can create an entity class and add default components to represent that type of entity throughout the game.

app/main.rb
class Player < Entity
component Position, x: 540, y: 360
component Size, width: 100, height: 80
component Sprite, path: 'sprites/misc/dragon-0.png'
component Visible
end

Ready to dive in?

Sign in to register your free account and then follow the tutorial to create your first game.

Begin the adventure
Web Editor

Try the new Smaug Desktop

Start projects, add packages, switch between engines, produce builds and even share your work online with just a few mouseclicks.

All the tools

Everything you need to build a game

Entity Component System

Easy programming framework helps you compose complex game systems from a few simple rules.

Tiled Map Editor

Craft worlds visually and populate them with objects using the most popular 2D level editing software.

Package Ecosystem

Add features and assets from the community registry, reuse code between games, or even publish a package of your own.

Online Workspace

Follow tutorials, collaborate, edit and learn from shared code anywhere using only a web browser.

Game Templates

Jumpstart new projects and get straight to the good part with many examples to start from for each kind of game.

Instant Sharing

Each of your projects gets a shareable link to try out your changes with friends before you release a new build.

Build games for every platform

itch.io
Raspberry Pi
iOS
Android
Windows
OS X
Linux
WebAssembly
XBOX One
PS5
Nintendo Switch

Frequently asked questions

Where is the documentation?
We're still working on it. For now, please refer to the DragonRuby docs and the README files for each individual package.
Will Smaug always be free?
The core CLI tools and open-source packages will always be free.

The desktop application and web services are expensive to operate and will eventually require monetization to be sustainable once they are mature.
How do I publish a package to the registry?
This feature is coming soon, but for now please reach out to us via Discord and we will assist you.