summaryrefslogtreecommitdiff
path: root/examples/graphics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphics.lua')
-rw-r--r--examples/graphics.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/graphics.lua b/examples/graphics.lua
index cd1ee12..981c848 100644
--- a/examples/graphics.lua
+++ b/examples/graphics.lua
@@ -4,6 +4,10 @@ set_fps(60)
while window_running() do
begin_drawing()
clear_window(color.BLACK)
+
+ draw_rect(100, 100, 300, 200, color.YELLOW)
+ draw_text("YOOOOO", 10, 10, 20, color.VIOLET)
+
draw_info()
end_drawing()
end