質問編集履歴
1
文章を修正中
test
CHANGED
File without changes
|
test
CHANGED
@@ -144,9 +144,9 @@
|
|
144
144
|
|
145
145
|
{
|
146
146
|
|
147
|
-
playerPosition.x += speed.x
|
147
|
+
playerPosition.x += speed.x * 0.70710678118;
|
148
148
|
|
149
|
-
playerPosition.y += speed.y
|
149
|
+
playerPosition.y += speed.y * 0.70710678118;
|
150
150
|
|
151
151
|
}
|
152
152
|
|