DXOpal

English | 日本語

DXOpal (github) is a game development framework for Opal.

Overview

DXOpal (github) is a RubyGem to make browser games with Ruby. API is similar to DXRuby.

Examples

Getting Started

If you have Ruby installed:

$ gem install dxopal
$ dxopal new game1
$ cd game1
$ dxopal server

Open http://localhost:7521/index.html in browser.

Then edit main.rb and reload browser.

Resources

FAQ

Why is dxopal.js so big?

Because it contains the whole opal processor, so that you will not be bothered by how to compile your game files into JS.

Technically you can reduce the file size by commenting out require "opal-parser" in opal/dxopal.rb and building your own .js (including your game).