summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0977bf0..7a6c874 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,10 @@ while window_running() do
37 draw_text(string.format("fps: %d", get_fps()), 10, 30, 20, color.VIOLET) 37 draw_text(string.format("fps: %d", get_fps()), 10, 30, 20, color.VIOLET)
38 draw_text(string.format("dt: %.3f", get_dt()), 10, 50, 20, color.VIOLET) 38 draw_text(string.format("dt: %.3f", get_dt()), 10, 50, 20, color.VIOLET)
39 39
40 if button_down(button.PAD_UP) then
41 draw_text("Pad Up", 10, 10, 20, color.VIOLET)
42 end
43
40 draw_info() 44 draw_info()
41 stop_drawing() 45 stop_drawing()
42end 46end