TicTacToeExtreme/lucky_wheel.tscn

98 lines
2.9 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://c6p3euhbip0w1"]
[ext_resource type="Texture2D" uid="uid://o5281jsg2i68" path="res://assets/lucky_wheel/spin_wheel_background.png" id="1_ud5de"]
[ext_resource type="Script" path="res://lucky_wheel.gd" id="1_yqnp6"]
[ext_resource type="Texture2D" uid="uid://ff556ic5603l" path="res://assets/lucky_wheel/spin_wheel_front_empty.png" id="2_ro8ek"]
[ext_resource type="Texture2D" uid="uid://defxo6urikxl6" path="res://assets/lucky_wheel/spin_wheel_button_ring.png" id="3_nq070"]
[ext_resource type="Texture2D" uid="uid://bsd6eravgnhy5" path="res://assets/lucky_wheel/spin_wheel_button.png" id="3_sur1o"]
[ext_resource type="Texture2D" uid="uid://swfesmtw11ic" path="res://assets/lucky_wheel/spin_wheel_button_press.png" id="4_idmp7"]
[ext_resource type="Texture2D" uid="uid://cbu3r8pscyuvj" path="res://assets/lucky_wheel/spin_wheel_arrow.png" id="6_0lqqd"]
[node name="LuckyWheel" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 272.0
offset_top = 40.0
offset_right = 272.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.75, 0.75)
pivot_offset = Vector2(-211, 365)
script = ExtResource("1_yqnp6")
[node name="background" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -420.333
offset_top = -427.0
offset_right = 479.667
offset_bottom = 473.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_ud5de")
[node name="front" type="TextureRect" parent="background"]
unique_name_in_owner = true
layout_mode = 0
offset_right = 900.0
offset_bottom = 900.0
scale = Vector2(0.91999, 0.919998)
pivot_offset = Vector2(450, 450)
texture = ExtResource("2_ro8ek")
[node name="background_button" type="TextureRect" parent="background"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_nq070")
[node name="btn_spin" type="TextureButton" parent="background"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = -100.0
offset_right = 100.0
offset_bottom = 100.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.812949, 0.807073)
pivot_offset = Vector2(100, 100)
texture_normal = ExtResource("3_sur1o")
texture_pressed = ExtResource("4_idmp7")
stretch_mode = 3
[node name="arrow" type="TextureRect" parent="background"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -100.0
offset_right = 100.0
offset_bottom = 181.0
grow_horizontal = 2
scale = Vector2(0.442426, 0.443682)
pivot_offset = Vector2(100, 6)
texture = ExtResource("6_0lqqd")
[connection signal="pressed" from="background/btn_spin" to="." method="_on_btn_spin_pressed"]