-
Notifications
You must be signed in to change notification settings - Fork 0
/
shoppe_scene.tscn
130 lines (114 loc) · 4.39 KB
/
shoppe_scene.tscn
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[gd_scene load_steps=8 format=3 uid="uid://dslfhaacylysr"]
[ext_resource type="Script" path="res://shoppe_scene.gd" id="1_5juds"]
[ext_resource type="Texture2D" uid="uid://dvqojbbqiuei6" path="res://art/YeOldeShoppe.png" id="1_wl6mu"]
[ext_resource type="Texture2D" uid="uid://1j3mukxivt08" path="res://art/heart.png" id="2_rhnqj"]
[ext_resource type="Texture2D" uid="uid://bjlhf4crtterx" path="res://art/SwordIcon.png" id="3_b6u0b"]
[ext_resource type="FontFile" uid="uid://bscrgmx88wnpd" path="res://fonts/SHPinscher-Regular.otf" id="4_0o8qx"]
[ext_resource type="AudioStream" uid="uid://b2tosce0tmfkk" path="res://art/336474__faulkin__coinsslide_02.wav" id="6_ossfv"]
[ext_resource type="AudioStream" uid="uid://c57kf5g1lt6as" path="res://art/Airship Serenity.mp3" id="7_fghhv"]
[node name="ShoppeScene" type="Node"]
script = ExtResource("1_5juds")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 2
[node name="ShopSprite" type="Sprite2D" parent="CanvasLayer"]
position = Vector2(540, 360)
scale = Vector2(4, 4)
texture = ExtResource("1_wl6mu")
[node name="HeartSprite" type="Sprite2D" parent="CanvasLayer"]
position = Vector2(180, 192)
scale = Vector2(4, 4)
texture = ExtResource("2_rhnqj")
[node name="SwordSprite" type="Sprite2D" parent="CanvasLayer"]
position = Vector2(360, 200)
scale = Vector2(4, 4)
texture = ExtResource("3_b6u0b")
[node name="HeartHaveLabel" type="Label" parent="CanvasLayer"]
offset_left = 115.0
offset_top = 100.0
offset_right = 245.0
offset_bottom = 142.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 32
text = "You have: 0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SwordHaveLabel" type="Label" parent="CanvasLayer"]
offset_left = 295.0
offset_top = 100.0
offset_right = 425.0
offset_bottom = 142.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 32
text = "You have: 0"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HeartCostLabel" type="Label" parent="CanvasLayer"]
offset_left = 160.0
offset_top = 260.0
offset_right = 200.0
offset_bottom = 322.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 48
text = "$5"
horizontal_alignment = 1
vertical_alignment = 1
[node name="SwordCostLabel" type="Label" parent="CanvasLayer"]
offset_left = 340.0
offset_top = 260.0
offset_right = 380.0
offset_bottom = 322.0
size_flags_horizontal = 0
size_flags_vertical = 0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 48
text = "$5"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ContinueButton" type="Button" parent="CanvasLayer"]
offset_left = 170.0
offset_top = 510.0
offset_right = 370.0
offset_bottom = 596.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 64
text = "Continue"
[node name="HeartBuyButton" type="Button" parent="CanvasLayer"]
offset_left = 120.0
offset_top = 330.0
offset_right = 240.0
offset_bottom = 416.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 64
text = "Buy"
[node name="SwordBuyButton" type="Button" parent="CanvasLayer"]
offset_left = 300.0
offset_top = 330.0
offset_right = 420.0
offset_bottom = 416.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 64
text = "Buy"
[node name="MoneyLabel" type="Label" parent="CanvasLayer"]
offset_left = 20.0
offset_top = 630.0
offset_right = 235.0
offset_bottom = 692.0
theme_override_colors/font_color = Color(0.921569, 0.87451, 0.258824, 1)
theme_override_fonts/font = ExtResource("4_0o8qx")
theme_override_font_sizes/font_size = 48
text = "You have: $0"
vertical_alignment = 2
[node name="buySound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("6_ossfv")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("7_fghhv")
volume_db = -8.0
pitch_scale = 0.9
autoplay = true