update examples

This commit is contained in:
Richard Smith 2024-11-16 20:11:08 +00:00
parent 4071263a59
commit 6441bca77c
40 changed files with 232 additions and 321 deletions

View file

@ -17,7 +17,7 @@ pyray.set_target_fps(60)
# Main game loop
while not pyray.window_should_close():
# Update
if pyray.is_key_pressed(pyray.KEY_SPACE):
if pyray.is_key_pressed(pyray.KeyboardKey.KEY_SPACE):
pause = not pause
if not pause: