update examples
This commit is contained in:
parent
4071263a59
commit
a33f4fcc9a
40 changed files with 232 additions and 321 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue