A showcase of open source games built with DragonRuby Game Toolkit compiled by the Dragon Rider community.
The aim of this project is to make it easy for someone interested in the engine to boot up all of the game samples and open source games made by the community and play through them.
This project wouldn't be possible without the DRGTK open source samples and contributions from the community.
This repository does not include the engine binary to run it, so you must have a copy of DragonRuby GTK.
- Download and unzip DragonRuby GTK; known working ver: v3.24
- Move into engine dir and clear out mygame:
rm -rf mygame
- Clone the repository into mygame:
git clone git@github.com:DragonRidersUnite/dragon_os.git mygame
- Run the
dragonruby
program
- update changelog
- bump ver in metadata/game_metadata.txt & commit
- tag with git, e.g.
git tag -a v0.3.0
- push tag to GitHub with
git push origin --tags
- build the game with
dragonruby-publish --only-package mygame
- upload the builds to itch
- publish itch update
Are you a Dragon Rider who would like to contribute your open source game to DragonOS? Awesome! Here's what you need to do:
- Create a folder in the
app
dir for your game, e.g.app/totris/
- Create a main game class, e.g.
app/totris/totris.rb
, that inherits fromGame
, and implements thetick
method:class Totris < Game def tick(args) # your game code here end end
- Put your game's assets in the
totris
directory, e.g.app/totris/sprites
- Add your game's entry class to the
GAMES
constant inapp/home.rb
- Add a 128x128 icon to
app/sprites
that follows this name scheme:icon-Totris.png
, use the class name
It'll now show up in the OS!