diff --git a/src/empty_space_thing.gd b/src/empty_space_thing.gd index 7088d21..9d7061f 100644 --- a/src/empty_space_thing.gd +++ b/src/empty_space_thing.gd @@ -14,11 +14,16 @@ var mouse_n_minus_one_location: Vector2 var time_since_first_location: float = -1 # Export variables, for ease of setting without going into the code -@export var velocity_coeffecient: int = 500 -@export var max_x: int = 1000 +## adjusts how much velocity you want to have on a slide, a higher number = less velocity +@export var velocity_coeffecient: int = 500 +## the maximum displacement of the item, to the right +@export var max_x: int = 1000 +## the minimum displacement, can be adjusted to accomodate margins @export var min_x: int = 0 -@export var ease_out_time: float = 0.5 -@export var bounce: bool = false +## ease out time for the velocity curve +@export var ease_out_time: float = 0.5 +## whether you want the UI to bounce +@export var bounce: bool = false func _ready() -> void: draggable = true