tiger-cleanup #1

Merged
tiger merged 97 commits from tiger-cleanup into development 2026-01-15 14:54:23 +00:00
2 changed files with 17 additions and 17 deletions
Showing only changes of commit e0c87d6905 - Show all commits

View File

@ -46,7 +46,6 @@ var transfor_arr: Array[Transform2D] = [
@export var highlighted: bool = false: @export var highlighted: bool = false:
set(highlight): set(highlight):
if highlight != highlighted: if highlight != highlighted:
printt(self, highlight)
highlighted = highlight highlighted = highlight
if is_inside_tree() and is_node_ready(): if is_inside_tree() and is_node_ready():

View File

@ -47,6 +47,7 @@ func _apply_enabled_state() -> void:
@export var angular_jitter_speed:Vector3 = Vector3(2, 1, 1) @export var angular_jitter_speed:Vector3 = Vector3(2, 1, 1)
@export var location_jitter:Vector3 = Vector3(0.05, 0.05, 0.05) @export var location_jitter:Vector3 = Vector3(0.05, 0.05, 0.05)
@export var location_jitter_speed:Vector3 = Vector3(2, 0.3, 1) @export var location_jitter_speed:Vector3 = Vector3(2, 0.3, 1)
var jitter_strength: float = 0 var jitter_strength: float = 0
var jitter_tween: Tween = null var jitter_tween: Tween = null
@ -59,7 +60,7 @@ var current_mouse_rotation: Vector2 = Vector2.ZERO
var noise: Noise = FastNoiseLite.new() var noise: Noise = FastNoiseLite.new()
var crouched:bool = false: var crouched:bool = false:
set(set_crouching): set(set_crouching):
if is_node_ready(): if !is_node_ready(): return
if set_crouching and not crouched: if set_crouching and not crouched:
if State.reduce_motion: if State.reduce_motion:
$PlayerAnimationPlayer.play("reduced_crouch") $PlayerAnimationPlayer.play("reduced_crouch")
@ -124,7 +125,7 @@ func _ready():
func _on_player_enable(enable: bool) -> void: func _on_player_enable(enable: bool) -> void:
enabled = enable enabled = enable
func _process(_delta): func _process(_delta) -> void:
if not enabled: if not enabled:
return return