forked from bedohswe/p3he
Compare commits
2 Commits
043606c965
...
9e69321399
Author | SHA1 | Date | |
---|---|---|---|
9e69321399 | |||
837e732efd |
@ -57,7 +57,7 @@ def open_level(path):
|
|||||||
|
|
||||||
def make_wall(wall_buffer,level):
|
def make_wall(wall_buffer,level):
|
||||||
if (len(wall_buffer) != 2):
|
if (len(wall_buffer) != 2):
|
||||||
print('Warning: wall buffer not contains 2 points.')
|
print("Warning: wall buffer doesn't contains 2 points.")
|
||||||
return
|
return
|
||||||
|
|
||||||
level.append(
|
level.append(
|
||||||
|
2
main.py
2
main.py
@ -83,6 +83,8 @@ def mainLoop():
|
|||||||
alert = Alert(f"File saved as {filename}", display)
|
alert = Alert(f"File saved as {filename}", display)
|
||||||
|
|
||||||
alert_append(alert, 5)
|
alert_append(alert, 5)
|
||||||
|
if event.key == pygame.K_F4:
|
||||||
|
print(gPlayer.cPos)
|
||||||
|
|
||||||
keys = pygame.key.get_pressed()
|
keys = pygame.key.get_pressed()
|
||||||
if keys[pygame.K_d]:
|
if keys[pygame.K_d]:
|
||||||
|
Loading…
Reference in New Issue
Block a user