AAAA
This commit is contained in:
parent
279b5e5599
commit
4f70414ed9
46 changed files with 1485 additions and 170 deletions
|
@ -8,7 +8,9 @@ func _process(delta):
|
|||
var velocModifier = clamp(abs(player.velocity.x) - 700, 0, 1000)
|
||||
var direction = clamp(player.velocity.x, -1, 1)
|
||||
|
||||
speedMod = lerpf(speedMod, velocModifier * direction / 10, delta * 20)
|
||||
speedMod = lerpf(speedMod, velocModifier * direction / 5, delta * 10)
|
||||
|
||||
position = (get_local_mouse_position() / 3)
|
||||
zoom = Vector2.ONE * 3 * get_viewport().size.length() / 3000
|
||||
|
||||
position = (get_local_mouse_position() / 2.5)
|
||||
position.x += speedMod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue