summaryrefslogtreecommitdiffhomepage
path: root/deploy_template/mygame/app
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2020-08-06 08:12:27 -0500
committerAmir Rajan <[email protected]>2020-08-06 08:12:27 -0500
commit64046616ce54fff32c3dd949a4b7702136f38a3e (patch)
tree1fff22cf553b2cf3eb5fe8095b572fd0cce63196 /deploy_template/mygame/app
parent161d498dc905f04b595c927309993acdcb4d394c (diff)
downloaddragonruby-game-toolkit-contrib-64046616ce54fff32c3dd949a4b7702136f38a3e.tar.gz
dragonruby-game-toolkit-contrib-64046616ce54fff32c3dd949a4b7702136f38a3e.zip
Synced with 1.14
Diffstat (limited to 'deploy_template/mygame/app')
-rw-r--r--deploy_template/mygame/app/main.rb3
-rw-r--r--deploy_template/mygame/app/tests.rb2
2 files changed, 2 insertions, 3 deletions
diff --git a/deploy_template/mygame/app/main.rb b/deploy_template/mygame/app/main.rb
index a7d9ad6..5683cc2 100644
--- a/deploy_template/mygame/app/main.rb
+++ b/deploy_template/mygame/app/main.rb
@@ -1,6 +1,5 @@
def tick args
args.outputs.labels << [ 580, 500, 'Hello World!' ]
- args.outputs.labels << [ 475, 150, '(Consider reading README.txt now.)' ]
+ args.outputs.labels << [ 640, 460, 'Go to docs/docs.html and read it!', 5, 1 ]
args.outputs.sprites << [ 576, 310, 128, 101, 'dragonruby.png' ]
end
-
diff --git a/deploy_template/mygame/app/tests.rb b/deploy_template/mygame/app/tests.rb
index a60c8be..db71ff6 100644
--- a/deploy_template/mygame/app/tests.rb
+++ b/deploy_template/mygame/app/tests.rb
@@ -4,7 +4,7 @@
# Here is an example test and game
-# To run the test: ./dragonruby mygame --eval tests.rb --no-tick
+# To run the test: ./dragonruby mygame --eval app/tests.rb --no-tick
class MySuperHappyFunGame
attr_gtk