|
|
|
[gd_scene load_steps=15 format=3 uid="uid://bxnxpcc3hwrrf"]
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://45e6o8fnn5g6" path="res://sprites/slot-machine1.png" id="1_67gbi"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cl1qwesnw8di7" path="res://sprites/CHERRY.png" id="2_epvcj"]
|
|
|
|
[ext_resource type="Script" path="res://SlotMachine.cs" id="2_fbgsk"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bhnl8fddlgci8" path="res://wheel.tscn" id="3_dagky"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bqupkucthyf6k" path="res://sprites/SEVEN.png" id="3_mqf40"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b7512aakq5qsn" path="res://sprites/BELL.png" id="4_cdn8h"]
|
|
|
|
[ext_resource type="Script" path="res://SlotSymbol.cs" id="5_3my0i"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b746l2ipvabqy" path="res://sprites/BAR.png" id="5_gusk3"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dhid2cal2tbv2" path="res://sprites/slot-machine4.png" id="6_u8o3a"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dhqxt13il7t04" path="res://sprites/BANANA.png" id="7_ou746"]
|
|
|
|
[ext_resource type="Script" path="res://SpinsUI.cs" id="10_1u7q7"]
|
|
|
|
[ext_resource type="Script" path="res://OptionPicker.cs" id="11_uyb7w"]
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_my47k"]
|
|
|
|
font_size = 33
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_gqqpj"]
|
|
|
|
font_size = 91
|
|
|
|
font_color = Color(0.898275, 2.59906e-06, 1.2514e-06, 1)
|
|
|
|
outline_size = 15
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
|
|
|
|
[node name="slot machine" type="Sprite2D" parent="." node_paths=PackedStringArray("Wheels")]
|
|
|
|
position = Vector2(288, 320)
|
|
|
|
texture = ExtResource("1_67gbi")
|
|
|
|
script = ExtResource("2_fbgsk")
|
|
|
|
Wheels = [NodePath("wheel"), NodePath("wheel2"), NodePath("wheel3")]
|
|
|
|
|
|
|
|
[node name="wheel" parent="slot machine" instance=ExtResource("3_dagky")]
|
|
|
|
|
|
|
|
[node name="wheel2" parent="slot machine" instance=ExtResource("3_dagky")]
|
|
|
|
position = Vector2(127, 0)
|
|
|
|
|
|
|
|
[node name="wheel3" parent="slot machine" instance=ExtResource("3_dagky")]
|
|
|
|
position = Vector2(256, 0)
|
|
|
|
|
|
|
|
[node name="slot-front" type="Sprite2D" parent="slot machine"]
|
|
|
|
position = Vector2(2, -3)
|
|
|
|
texture = ExtResource("6_u8o3a")
|
|
|
|
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="slot machine"]
|
|
|
|
offset_left = -181.0
|
|
|
|
offset_top = -237.0
|
|
|
|
offset_right = -140.0
|
|
|
|
offset_bottom = -197.0
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(8.93603, 1.87433)
|
|
|
|
color = Color(0.247059, 0.231373, 0.576471, 1)
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="slot machine"]
|
|
|
|
offset_left = -279.679
|
|
|
|
offset_top = -346.019
|
|
|
|
offset_right = -239.679
|
|
|
|
offset_bottom = -306.019
|
|
|
|
scale = Vector2(14.16, 1)
|
|
|
|
color = Color(0.247059, 0.231373, 0.576471, 1)
|
|
|
|
|
|
|
|
[node name="Spins" type="Label" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
offset_left = 31.0
|
|
|
|
offset_top = -8.0
|
|
|
|
offset_right = 152.0
|
|
|
|
offset_bottom = 38.0
|
|
|
|
text = "Spins: 2"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
script = ExtResource("10_1u7q7")
|
|
|
|
|
|
|
|
[node name="Readout" type="Label" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
offset_left = 76.0
|
|
|
|
offset_top = 151.0
|
|
|
|
offset_right = 522.0
|
|
|
|
offset_bottom = 303.0
|
|
|
|
text = "HIT SPACE"
|
|
|
|
label_settings = SubResource("LabelSettings_gqqpj")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
script = ExtResource("10_1u7q7")
|
|
|
|
|
|
|
|
[node name="Points" type="Label" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
offset_left = 225.0
|
|
|
|
offset_top = 24.0
|
|
|
|
offset_right = 346.0
|
|
|
|
offset_bottom = 70.0
|
|
|
|
text = "000000"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Points" type="Label" parent="Points"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = -57.0
|
|
|
|
offset_top = 50.0
|
|
|
|
offset_right = 184.0
|
|
|
|
offset_bottom = 101.0
|
|
|
|
text = "FUCKED UP "
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Points2" type="Label" parent="Points"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = -57.0
|
|
|
|
offset_top = 93.0
|
|
|
|
offset_right = 184.0
|
|
|
|
offset_bottom = 144.0
|
|
|
|
text = "SLOT MACHINE"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="Paytable" type="Node2D" parent="."]
|
|
|
|
position = Vector2(593, 291)
|
|
|
|
scale = Vector2(0.295, 0.295)
|
|
|
|
|
|
|
|
[node name="white box" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 183.0
|
|
|
|
offset_top = -617.0
|
|
|
|
offset_right = 247.0
|
|
|
|
offset_bottom = 2491.0
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0.321569, 0, 1, 1)
|
|
|
|
|
|
|
|
[node name="Cherries" type="Node2D" parent="Paytable"]
|
|
|
|
position = Vector2(359, -407)
|
|
|
|
scale = Vector2(1.38564, 1.38564)
|
|
|
|
|
|
|
|
[node name="Cherry" type="Sprite2D" parent="Paytable/Cherries"]
|
|
|
|
position = Vector2(213.07, -56.1084)
|
|
|
|
texture = ExtResource("2_epvcj")
|
|
|
|
|
|
|
|
[node name="Cherry2" type="Sprite2D" parent="Paytable/Cherries"]
|
|
|
|
position = Vector2(4.19695, 70.1767)
|
|
|
|
texture = ExtResource("2_epvcj")
|
|
|
|
|
|
|
|
[node name="Cherry3" type="Sprite2D" parent="Paytable/Cherries"]
|
|
|
|
position = Vector2(109.197, 70.1767)
|
|
|
|
texture = ExtResource("2_epvcj")
|
|
|
|
|
|
|
|
[node name="Cherry4" type="Sprite2D" parent="Paytable/Cherries"]
|
|
|
|
position = Vector2(222.197, 70.1767)
|
|
|
|
texture = ExtResource("2_epvcj")
|
|
|
|
|
|
|
|
[node name="Bananas" type="Node2D" parent="Paytable"]
|
|
|
|
position = Vector2(359.322, -128.814)
|
|
|
|
scale = Vector2(1.38564, 1.38564)
|
|
|
|
|
|
|
|
[node name="Banana" type="Sprite2D" parent="Paytable/Bananas"]
|
|
|
|
position = Vector2(72.778, 125)
|
|
|
|
texture = ExtResource("7_ou746")
|
|
|
|
|
|
|
|
[node name="Banana2" type="Sprite2D" parent="Paytable/Bananas"]
|
|
|
|
position = Vector2(177.778, 125)
|
|
|
|
texture = ExtResource("7_ou746")
|
|
|
|
|
|
|
|
[node name="Banana3" type="Sprite2D" parent="Paytable/Bananas"]
|
|
|
|
position = Vector2(-1, 268.123)
|
|
|
|
texture = ExtResource("7_ou746")
|
|
|
|
|
|
|
|
[node name="Banana4" type="Sprite2D" parent="Paytable/Bananas"]
|
|
|
|
position = Vector2(104, 270.123)
|
|
|
|
texture = ExtResource("7_ou746")
|
|
|
|
|
|
|
|
[node name="Banana5" type="Sprite2D" parent="Paytable/Bananas"]
|
|
|
|
position = Vector2(214, 270.123)
|
|
|
|
texture = ExtResource("7_ou746")
|
|
|
|
|
|
|
|
[node name="Bells" type="Node2D" parent="Paytable"]
|
|
|
|
position = Vector2(359, -33.8983)
|
|
|
|
scale = Vector2(1.38564, 1.38564)
|
|
|
|
|
|
|
|
[node name="Bell" type="Sprite2D" parent="Paytable/Bells"]
|
|
|
|
position = Vector2(69.1696, 341)
|
|
|
|
texture = ExtResource("4_cdn8h")
|
|
|
|
|
|
|
|
[node name="Bell2" type="Sprite2D" parent="Paytable/Bells"]
|
|
|
|
position = Vector2(183.17, 341)
|
|
|
|
texture = ExtResource("4_cdn8h")
|
|
|
|
|
|
|
|
[node name="Bell3" type="Sprite2D" parent="Paytable/Bells"]
|
|
|
|
position = Vector2(4, 476.122)
|
|
|
|
texture = ExtResource("4_cdn8h")
|
|
|
|
|
|
|
|
[node name="Bell4" type="Sprite2D" parent="Paytable/Bells"]
|
|
|
|
position = Vector2(118, 476.122)
|
|
|
|
texture = ExtResource("4_cdn8h")
|
|
|
|
|
|
|
|
[node name="Bell5" type="Sprite2D" parent="Paytable/Bells"]
|
|
|
|
position = Vector2(226, 476.122)
|
|
|
|
texture = ExtResource("4_cdn8h")
|
|
|
|
|
|
|
|
[node name="Sevens" type="Node2D" parent="Paytable"]
|
|
|
|
position = Vector2(359, -171.442)
|
|
|
|
scale = Vector2(1.38564, 1.38564)
|
|
|
|
|
|
|
|
[node name="Seven" type="Sprite2D" parent="Paytable/Sevens"]
|
|
|
|
position = Vector2(226.851, 35)
|
|
|
|
texture = ExtResource("3_mqf40")
|
|
|
|
|
|
|
|
[node name="Bars" type="Node2D" parent="Paytable"]
|
|
|
|
position = Vector2(355, 494.915)
|
|
|
|
scale = Vector2(1.38564, 1.38564)
|
|
|
|
|
|
|
|
[node name="Bar2" type="Sprite2D" parent="Paytable/Bars"]
|
|
|
|
position = Vector2(5, 242)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
|
|
|
|
[node name="Bar3" type="Sprite2D" parent="Paytable/Bars"]
|
|
|
|
position = Vector2(108, 242)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
|
|
|
|
[node name="Bar4" type="Sprite2D" parent="Paytable/Bars"]
|
|
|
|
position = Vector2(214, 242)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
|
|
|
|
[node name="text" type="Label" parent="Paytable"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
offset_left = 64.4068
|
|
|
|
offset_top = -566.102
|
|
|
|
offset_right = 318.407
|
|
|
|
offset_bottom = -177.102
|
|
|
|
scale = Vector2(3.77856, 3.77856)
|
|
|
|
text = "ANY 2
|
|
|
|
20
|
|
|
|
ANY 7
|
|
|
|
10
|
|
|
|
30
|
|
|
|
25
|
|
|
|
100
|
|
|
|
150"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="line" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 311.864
|
|
|
|
offset_top = -403.39
|
|
|
|
offset_right = 352.864
|
|
|
|
offset_bottom = -392.39
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line2" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 311.864
|
|
|
|
offset_top = -200.0
|
|
|
|
offset_right = 352.864
|
|
|
|
offset_bottom = -189.0
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line3" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = -37.2881
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = -26.2881
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line4" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = 155.932
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = 166.932
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line5" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = 352.542
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = 363.542
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line6" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = 725.424
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = 736.424
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line7" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = 515.254
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = 526.254
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="line8" type="ColorRect" parent="Paytable"]
|
|
|
|
offset_left = 308.474
|
|
|
|
offset_top = 928.814
|
|
|
|
offset_right = 349.474
|
|
|
|
offset_bottom = 939.814
|
|
|
|
rotation = -9.56036e-05
|
|
|
|
scale = Vector2(15.4094, 0.526705)
|
|
|
|
color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
[node name="OptionPicker" type="Node2D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
position = Vector2(-7, 312)
|
|
|
|
script = ExtResource("11_uyb7w")
|
|
|
|
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="OptionPicker"]
|
|
|
|
offset_left = 75.0
|
|
|
|
offset_top = 125.0
|
|
|
|
offset_right = 115.0
|
|
|
|
offset_bottom = 165.0
|
|
|
|
scale = Vector2(10.92, 3.92)
|
|
|
|
color = Color(0.247059, 0.231373, 0.576471, 1)
|
|
|
|
|
|
|
|
[node name="Option1" type="Sprite2D" parent="OptionPicker"]
|
|
|
|
position = Vector2(163, 216)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
script = ExtResource("5_3my0i")
|
|
|
|
SlotType = 2
|
|
|
|
|
|
|
|
[node name="Option2" type="Sprite2D" parent="OptionPicker"]
|
|
|
|
position = Vector2(288, 216)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
script = ExtResource("5_3my0i")
|
|
|
|
SlotType = 2
|
|
|
|
|
|
|
|
[node name="Option3" type="Sprite2D" parent="OptionPicker"]
|
|
|
|
position = Vector2(421, 216)
|
|
|
|
texture = ExtResource("5_gusk3")
|
|
|
|
script = ExtResource("5_3my0i")
|
|
|
|
SlotType = 2
|
|
|
|
|
|
|
|
[node name="instructions" type="Label" parent="OptionPicker"]
|
|
|
|
offset_left = 188.0
|
|
|
|
offset_top = 121.0
|
|
|
|
offset_right = 402.0
|
|
|
|
offset_bottom = 167.0
|
|
|
|
text = "add a symbol"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="instructions2" type="Label" parent="OptionPicker"]
|
|
|
|
offset_left = 92.0
|
|
|
|
offset_top = 244.0
|
|
|
|
offset_right = 432.0
|
|
|
|
offset_bottom = 290.0
|
|
|
|
text = "1 2 3"
|
|
|
|
label_settings = SubResource("LabelSettings_my47k")
|
|
|
|
horizontal_alignment = 2
|