質問編集履歴

1

コードの変更

2017/11/22 11:06

投稿

Alpa
Alpa

スコア80

test CHANGED
File without changes
test CHANGED
@@ -134,7 +134,7 @@
134
134
 
135
135
 
136
136
 
137
- if(PlayerX <= 442){
137
+ if(PlayerY <= 462){
138
138
 
139
139
 
140
140
 
@@ -153,6 +153,8 @@
153
153
 
154
154
 
155
155
  PlayerY += 5;//プレイヤーのY座標を-5
156
+
157
+ Player.setBounds(PlayerX, PlayerY, 20, 40);//プレイヤーの座標再設定
156
158
 
157
159
  Panel.repaint();//パネルを更新
158
160