update to raylib 4.2

This commit is contained in:
richard 2022-08-11 21:58:54 +01:00
parent 3a6deb2c04
commit 3e011b329a
19 changed files with 78 additions and 49 deletions

View file

@ -3,6 +3,8 @@ 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)
draw_text_ex(font, "hellow font", (300, 300), 30, 0, BLACK)
draw_text("Hello world", 190, 200, 20, VIOLET)
end_drawing()
close_window()