Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DragonRidersUnite/book
A comprehensive guide to shipping cross-platform games with ease using DragonRuby Game Toolkit.
https://github.com/DragonRidersUnite/book
Last synced: about 2 months ago
JSON representation
A comprehensive guide to shipping cross-platform games with ease using DragonRuby Game Toolkit.
- Host: GitHub
- URL: https://github.com/DragonRidersUnite/book
- Owner: DragonRidersUnite
- License: other
- Created: 2022-11-23T15:52:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T19:42:49.000Z (about 2 months ago)
- Last Synced: 2024-11-04T20:35:55.319Z (about 2 months ago)
- Language: Ruby
- Homepage: https://book.dragonriders.community
- Size: 6.9 MB
- Stars: 54
- Watchers: 9
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Building Games with DragonRuby
An open-source book by Brett Chalupa and the Dragon Rider Community that walks you through how to build games with [DragonRuby Game Toolkit](https://dragonruby.org/toolkit/game).
[Play the game you'll be building, right in the browser.](https://dragonridersunite.itch.io/dragonruby-book)
[Support the creation and expansion of this book.](https://buymeacoffee.com/brettchalupa)
## Developing
The book is authored and published with [mdBook](https://rust-lang.github.io/mdBook/guide/installation.html). 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.x, v4.x, v5.x
- mdBook: v0.4.22## 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:
``` console
./dragonruby book/src/code/chapter_03/01_input
```## Publishing
How to make a release:
1. Merge the `main` branch into `offline`
2. Generate a new PDF via printing in Firefox, turning off the header and footer
3. Generate an HTML version of the book and zip it up
4. Create zips and upload them on itch.io
5. Create tags and releases for the offline branch and the main branchThe 3D cover file is generated with https://diybookcovers.com/