From 47afbbc5fb29272185d9c56de5943f889ca63723 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 7 Aug 2025 11:20:02 +0200 Subject: Added draw_rect and draw_text --- examples/graphics.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/graphics.lua') 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 -- cgit v1.2.3