Sprint 24 Signal — three client tickets delivering the player-facing storyteller feedback loop: - #588: Character archetype select screen between New Game and session start. Two-card UI (Smuggler/Detective), keyboard+mouse, ESC cancels. GameState.character_archetype persisted and sent in StartupMessage. PROTOCOL_VERSION bumped to 19. - #590: Triangle crisis event consumer. Decodes triangle_crisis_events from snapshot, fires sfx_monologue_chime_urgent once per triangle per session via AudioManager.CHIME_ACTIVATION. - #592: News ticker HUD element. Scrolling marquee on UILayer, visible only when current_ticker is present in snapshot (Last Shift zone). Zero-arg update_from_state reads from GameState.current_snapshot. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
940 B
Plaintext
34 lines
940 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://news_ticker_scene_sr"]
|
|
|
|
[ext_resource type="Script" path="res://ui/news_ticker.gd" id="1_newsticker"]
|
|
|
|
; #592: News ticker — scrolling headline bar. Lives on UILayer (z-layer 7).
|
|
; Anchored top-left to top-right, 28px tall. Hidden when current_ticker is null.
|
|
|
|
[node name="NewsTicker" type="Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.0
|
|
offset_bottom = 28.0
|
|
clip_contents = true
|
|
script = ExtResource("1_newsticker")
|
|
|
|
[node name="TickerBg" type="ColorRect" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color(0.05, 0.05, 0.07, 0.75)
|
|
mouse_filter = 2
|
|
|
|
[node name="TickerLabel" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 4.0
|
|
offset_bottom = 24.0
|
|
theme_override_font_sizes/font_size = 13
|
|
theme_override_colors/font_color = Color(0.784, 0.816, 0.878, 1.0)
|
|
text = ""
|