From e2afc100f5454911826883f5e8d4b427b88f8204 Mon Sep 17 00:00:00 2001 From: Gabriella Date: Tue, 21 Oct 2025 11:58:59 -0600 Subject: [PATCH] enhancement: description comments for Inspector exports --- src/empty_space_thing.gd | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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