diff options
| author | Amir Rajan <[email protected]> | 2020-12-06 09:40:36 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-06 09:40:36 -0600 |
| commit | 645d9cc3ac54219e08218ef9b347815a71565926 (patch) | |
| tree | b73105ed8a845e988a09c300ba8aa85fc83404ec /readme.md | |
| parent | 7040f8ccd4c2d83d3167b665b43b55ba05f421aa (diff) | |
| download | dragonruby-game-toolkit-contrib-645d9cc3ac54219e08218ef9b347815a71565926.tar.gz dragonruby-game-toolkit-contrib-645d9cc3ac54219e08218ef9b347815a71565926.zip | |
Update readme.md
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -25,14 +25,15 @@ DragonRuby | +- dragon/ | | - | +- index.rb - | +- other source files - | - +- experimental/ - | - + index.rb - + | +- docs.rb + | +- [other source files] ``` -5. Open `main.rb` and add the following to the top of the file: `require "app/dragonruby-game-toolkit-contrib/dragon/index.rb"`. -6. If you are feeling adventurous also add `require "app/dragonruby-game-toolkit-contrib/experimental/index.rb"`. +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 +``` |
