update examples

This commit is contained in:
Richard Smith 2024-07-01 14:18:55 +01:00
parent ea29d96ff9
commit 1799c58ca5
9 changed files with 51 additions and 44 deletions

View file

@ -3,7 +3,7 @@ init_window(800, 450, "Hello")
while not window_should_close():
begin_drawing()
clear_background(WHITE)
font = load_font_ex("/home/richard/pycharm-2022.1.4/jbr/lib/fonts/DroidSans.ttf", 30, None, 0)
font = load_font_ex("/usr/share/fonts/TTF/FiraSans-Ultra.ttf", 30, None, 0)
draw_text_ex(font, "hellow font", (300, 300), 30, 0, BLACK)
draw_text("Hello world", 190, 200, 20, VIOLET)
end_drawing()