summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
blob: c2c58b1243af88d371dafb17612aeda80ec4bd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[gd_scene load_steps=5 format=3 uid="uid://d06d1vihf2oqp"]

[ext_resource type="Texture2D" uid="uid://b03ygtrwha22g" path="res://taytay/IMG_5199.jpeg" id="1_o2s48"]
[ext_resource type="Script" path="res://scenes/main.gd" id="1_y7a0r"]
[ext_resource type="AudioStream" uid="uid://wtoxhk0tf8ev" path="res://funny_sounds/Cat Meow - Minecraft Sound Effect (HD).mp3" id="3_gatxj"]
[ext_resource type="PackedScene" uid="uid://g2veoq55y14i" path="res://scenes/stockticker/Stock Ticker.tscn" id="4_0ankd"]

[node name="Node2D2" type="Node2D"]
script = ExtResource("1_y7a0r")

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(636.307, 381.672)
scale = Vector2(0.293995, 0.217148)
texture = ExtResource("1_o2s48")

[node name="Score" type="Label" parent="."]
offset_top = 2.0
offset_right = 83.0
offset_bottom = 25.0
text = "Net worth: $"

[node name="Microgame spawn timer" type="Timer" parent="."]
wait_time = 10.0
autostart = true

[node name="Meow" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_gatxj")

[node name="Window" type="Window" parent="."]
size = Vector2i(1280, 720)

[node name="Stock ticker" parent="Window" instance=ExtResource("4_0ankd")]

[connection signal="timeout" from="Microgame spawn timer" to="." method="_on_microgame_spawn_timer_timeout"]
[connection signal="buy" from="Window/Stock ticker" to="." method="_on_stock_ticker_buy"]
[connection signal="sell" from="Window/Stock ticker" to="." method="_on_stock_ticker_sell"]