Browse Source

Nerf jump, increase Hero 0 mobility

master
Luna 7 years ago
parent
commit
65f67d0412
2 changed files with 7 additions and 6 deletions
  1. +5
    -4
      scripts/heroes/0.gd
  2. +2
    -2
      scripts/player.gd

+ 5
- 4
scripts/heroes/0.gd View File

@ -1,7 +1,7 @@
extends "res://scripts/player.gd"
const wallride_speed_necessary = 2
const wallride_leap_height = 25
const wallride_speed_necessary = 1.5
const wallride_leap_height = 48
const wallride_leap_side = 6
const wallride_leap_build = 0.01
@ -11,8 +11,9 @@ var wallride_forgiveness = .150
func _ready():
._ready()
walk_speed *= 1
air_accel *= 1.5
walk_speed *= 1.2
air_accel *= 3
jump_speed *= 1
walk_speed_build *= 2
air_speed_build *= 3


+ 2
- 2
scripts/player.gd View File

@ -6,8 +6,8 @@ var view_sensitivity = 0.25
# Walking speed and jumping height are defined later.
var walk_speed = 0.8 # Actually acceleration; m/s/s
var jump_speed = 3 # m/s
var air_accel = .3 # m/s/s
var jump_speed = 1 # m/s
var air_accel = .1 # m/s/s
var floor_friction = 1-0.08
var air_friction = 1-0.03
var player_info # Set by lobby


Loading…
Cancel
Save