diff --git a/src/logic-scenes/board/post-it.gd b/src/logic-scenes/board/post-it.gd index b314d85..409009a 100644 --- a/src/logic-scenes/board/post-it.gd +++ b/src/logic-scenes/board/post-it.gd @@ -3,9 +3,6 @@ extends Area2D class_name PostIt var sibling -var wiggle_pos: float = randf_range(-100, 100) -var wiggle_intensity: float = 0 -var noise: Noise = FastNoiseLite.new() var shift_tween var modulate_tween @@ -15,6 +12,7 @@ var modulate_tween $Content/Label.text = value $Content/BackgroundSprite.frame = text.hash() % $Content/BackgroundSprite.sprite_frames.get_frame_count($Content/BackgroundSprite.animation) text = value + @export var shift_by: Vector2 = Vector2(-32, 0) @export_color_no_alpha var highlight_color: Color = Color(1.5, 1.5, 1.5) @@ -39,10 +37,8 @@ var modulate_tween else: if highlighted: modulate = Color(1, 1, 1) - wiggle_intensity = 1 else: modulate = Color(1, 1, 1) - wiggle_intensity = 0 @export var voice_line: AudioStream = null