blocks csv fixed wrong opacity value

This commit is contained in:
minjaesong
2019-07-06 20:44:15 +09:00
parent 184eda38fd
commit 01e475814b
8 changed files with 2265 additions and 85 deletions

View File

@@ -115,8 +115,8 @@ open class ActorHumanoid(
var axisRY = 0f; protected set
/** empirical value. */
@Transient private val JUMP_ACCELERATION_MOD = 51.0 / 10000.0 // (170 * (17/MAX_JUMP_LENGTH)^2) / 10000.0
@Transient private val WALK_FRAMES_TO_MAX_ACCEL = 6
@Transient private val JUMP_ACCELERATION_MOD = 51.0 / 10000.0 // (170 * (17/MAX_JUMP_LENGTH)^2) / 10000.0 // bigger value = higher jump
@Transient private val WALK_FRAMES_TO_MAX_ACCEL = 5 // how many frames it takes to reach maximum walking speed
@Transient private val LEFT = 1
@Transient private val RIGHT = 2
@@ -248,6 +248,9 @@ open class ActorHumanoid(
private fun processInput(delta: Float) {
// Good control is simple: it move as the player meant: if I push the stick forward, it goes forward, rather than
// the way your character is looking. Think of the SM64
/**
* L-R stop
*/