質問編集履歴

1

2019/12/23 02:13

投稿

Arai0106
Arai0106

スコア5

test CHANGED
File without changes
test CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  if key[pygame.K_DOWN] == 1:
4
4
 
5
- if map[pl_y+1][pl_x] != 1 and map[pl_y+1][pl_x] != 2 and map[pl_y+1][pl_x] != 3 and map[pl_y+1][pl_x] != 4:
5
+ if map[pl_y+1][pl_x] != 1 and map[pl_y+1][pl_x] != 2 and map[pl_y+1][pl_x] != 3 and map[pl_y+1][pl_x] != 4:
6
6
 
7
- pl_y = pl_y + 1
7
+ pl_y = pl_y + 1
8
8
 
9
9
 
10
10