Remove AccentBar from main menu and associated animation logic. Update menu background shader to enhance starfield effect and adjust aurora band parameters for improved visual quality.
This commit is contained in:
@@ -18,7 +18,6 @@ const HOVER_SCALE := 1.035
|
||||
|
||||
@onready var _saves: SaveManagerService = get_node("/root/SaveManager")
|
||||
@onready var _header: Control = $Content/Column/Header
|
||||
@onready var _accent_bar: ColorRect = $Content/Column/Header/AccentBar
|
||||
@onready var _menu: VBoxContainer = $Content/Column/Menu
|
||||
@onready var _footer: Control = $Footer
|
||||
@onready var _continue_button: Button = $Content/Column/Menu/ContinueButton
|
||||
@@ -43,7 +42,6 @@ func _ready() -> void:
|
||||
var about_back: Button = $AboutOverlay/Center/Card/Body/Actions/AboutBackButton
|
||||
about_back.pressed.connect(_close_about)
|
||||
|
||||
_animate_accent_bar()
|
||||
await _play_intro()
|
||||
_focus_first_button()
|
||||
|
||||
@@ -168,10 +166,3 @@ func _play_intro() -> void:
|
||||
index += 1
|
||||
|
||||
await tween.finished
|
||||
|
||||
|
||||
func _animate_accent_bar() -> void:
|
||||
# Медленное «дыхание» акцентной черты под заголовком.
|
||||
var tween := create_tween().set_loops().set_ease(Tween.EASE_IN_OUT).set_trans(Tween.TRANS_SINE)
|
||||
tween.tween_property(_accent_bar, "custom_minimum_size:x", 230.0, 2.6)
|
||||
tween.tween_property(_accent_bar, "custom_minimum_size:x", 140.0, 2.6)
|
||||
|
||||
Reference in New Issue
Block a user