init
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
@export var jump_height : float = 2.25
|
||||
@export var jump_time_to_peak : float = 0.4
|
||||
@export var jump_time_to_descent : float = 0.3
|
||||
|
||||
@onready var jump_velocity : float = ((2.0 * jump_height) / jump_time_to_peak) * -1.0
|
||||
@onready var jump_gravity : float = ((-2.0 * jump_height) / (jump_time_to_peak * jump_time_to_peak)) * -1.0
|
||||
@onready var fall_gravity : float = ((-2.0 * jump_height) / (jump_time_to_descent * jump_time_to_descent)) * -1.0
|
||||
# source: https://youtu.be/IOe1aGY6hXA?feature=shared
|
||||
@@ -0,0 +1 @@
|
||||
current_spell = spells[spells.keys()[(int(current_spell) + 1) % len(spells)]]
|
||||
Reference in New Issue
Block a user