Make the main window just be a stock ticker

This commit is contained in:
Zoey Kitt 2024-11-16 18:33:37 -06:00
parent 518fa16866
commit 977521849b
3 changed files with 12 additions and 14 deletions

View file

@ -17,6 +17,8 @@ config/icon="res://icon.svg"
[display]
window/size/viewport_width=1280
window/size/viewport_height=720
window/subwindows/embed_subwindows=false
window/per_pixel_transparency/allowed=true

View file

@ -4,9 +4,6 @@ extends Node2D
func _ready() -> void:
_on_microgame_spawn_timer_timeout()
# Spawn Clippette???
$Clippette.visible = true
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:

View file

@ -300,32 +300,31 @@ autostart = true
[node name="Meow" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_gatxj")
[node name="Stock ticker window" type="Window" parent="."]
position = Vector2i(1000, 342)
size = Vector2i(1280, 720)
[node name="Stock ticker" parent="Stock ticker window" instance=ExtResource("4_0ankd")]
[node name="Stock ticker" parent="." instance=ExtResource("4_0ankd")]
[node name="Clippette" parent="." instance=ExtResource("5_6agvn")]
visible = false
[node name="Score window" type="Node2D" parent="."]
[node name="Score window (real)" type="Window" parent="."]
visible = false
[node name="Score window" type="Node2D" parent="Score window (real)"]
script = ExtResource("6_gvoxs")
[node name="Background" type="Sprite2D" parent="Score window"]
[node name="Background" type="Sprite2D" parent="Score window (real)/Score window"]
modulate = Color(0.796078, 0.796078, 0.796078, 1)
light_mask = 3
scale = Vector2(1319, 300)
texture = ExtResource("2_fkfik")
centered = false
[node name="Rotating fish" type="AnimatedSprite2D" parent="Score window"]
[node name="Rotating fish" type="AnimatedSprite2D" parent="Score window (real)/Score window"]
position = Vector2(1060, 149)
sprite_frames = SubResource("SpriteFrames_ke268")
autoplay = "default"
frame_progress = 0.387952
[node name="Score" type="Label" parent="Score window"]
[node name="Score" type="Label" parent="Score window (real)/Score window"]
offset_top = 2.0
offset_right = 1302.0
offset_bottom = 197.0
@ -337,5 +336,5 @@ text = "Net worth:
$00000000000000000000"
[connection signal="timeout" from="Microgame spawn timer" to="." method="_on_microgame_spawn_timer_timeout"]
[connection signal="buy" from="Stock ticker window/Stock ticker" to="Score window" method="_on_stock_ticker_buy"]
[connection signal="sell" from="Stock ticker window/Stock ticker" to="Score window" method="_on_stock_ticker_sell"]
[connection signal="buy" from="Stock ticker" to="Score window (real)/Score window" method="_on_stock_ticker_buy"]
[connection signal="sell" from="Stock ticker" to="Score window (real)/Score window" method="_on_stock_ticker_sell"]