can see camera working but not the actor gravity

This commit is contained in:
minjaesong
2017-06-28 22:15:42 +09:00
parent 4472722c5d
commit f0e73cda1d
55 changed files with 279 additions and 101 deletions

View File

@@ -203,7 +203,7 @@ import java.util.*
rgba, 0,
rgba.size - displacement
)
(rgba.size - 1 downTo rgba.size - displacement + 1).forEach { rgba[it] = 0.toByte() }
for (it in rgba.size - 1 downTo rgba.size - displacement + 1) { rgba[it] = 0.toByte() }
}
else {
System.arraycopy(
@@ -211,7 +211,7 @@ import java.util.*
rgba, displacement,
rgba.size - displacement
)
(0..displacement - 1).forEach { rgba[it] = 0.toByte() }
for (it in 0..displacement - 1) { rgba[it] = 0.toByte() }
}
cursorY += -amount