Find a file
2022-12-11 11:29:18 -05:00
.github chore: call out funding 2022-12-08 06:58:41 -05:00
src fix(intro): minor revisions 2022-12-11 11:29:18 -05:00
theme feat: add favicon 2022-11-23 17:46:03 -05:00
.gitignore feat(ch07): high-score tracking first draft 2022-12-06 16:40:49 -05:00
book.toml feat: flesh out book metadata 2022-11-23 17:51:11 -05:00
CNAME feat: init book 2022-11-23 10:51:09 -05:00
LICENSE.md fix: typo in license 2022-12-07 09:20:39 -05:00
README.md chore: call out funding 2022-12-08 06:58:41 -05:00

Building Games with DragonRuby

🚧 A work in progress! Expect typos, issues, and incompleteness. 🚧

An open source book that walks you through how to build games with DragonRuby Game Toolkit.

Support the creation and expansion of this book.

Developing

The book is authored and published with mdBook. Follow the installation instructions to get the mdbook binary installed.

Run mdbook serve to boot up the web server that handles compiling everything.

When the code is pushed to the main branch on GitHub, an action runs that deploys it to the gh-pages branch.

Key Versions

  • DragonRuby Game Toolkit: v3.24
  • mdbook: v0.4.21

Running Samples

The repository contains complete games for each separate code sample to ensure the code works and runs.

Code samples live in src/code and then are organized by chapter and then sections within a chapter.

Clone this book repository into a DragonRuby GTK engine directory and run the samples with:

./dragonruby book/src/code/chapter_03/01_input

Publishing

The 3D cover file is generated with https://diybookcovers.com/