blob: 50c8916fdc58f6829a6cf55b0f80ff25617e8182 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# How to Use
This repository requires DragonRuby Game Toolkit. You can purchase a license from http://dragonruby.org.
If your income is below $1000 per month, are a "student", or are a "big time Raspberry PI enthusiast", contact Amir at [email protected] with a short explanation of your current situation, and he'll set you up with a free license, no questions asked.
1. Download DragonRuby Game Toolkit.
2. Unzip.
3. Navigate to your game folder using terminal (the default game folder is `./mygame/app`)
4. `git clone https://github.com/DragonRuby/dragonruby-game-toolkit-contrib` or download and unzip into the `./mygame/app` directory.
5. Your directory structures should look like the following:
```
DragonRuby
|
+- mygame/
|
+- app/
|
+- main.rb
+- repl.rb
+- documentation/
|
+- dragonruby-game-toolkit-contrib/ (this repository)
|
+- dragon/
| |
| +- docs.rb
| +- [other source files]
```
5. Open `main.rb` and add the source file you want to edit. For example, if you want to edit `docs.rb`, your `mygame/main.rb` would look like this:
```ruby
require 'app/dragonruby-game-toolkit-contrib/dragon/docs.rb'
def tick args
end
```
|