-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tscn
49 lines (39 loc) · 1.32 KB
/
main.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
[gd_scene load_steps=4 format=3 uid="uid://mwpr4xs1vmhr"]
[ext_resource type="Texture2D" uid="uid://dijpreiydhbjr" path="res://icon.svg" id="1_tpr4h"]
[ext_resource type="Script" path="res://spinner.gd" id="1_tvtca"]
[sub_resource type="CircleShape2D" id="CircleShape2D_g7bhb"]
radius = 65.9242
[node name="Root" type="Node"]
[node name="RigidBody2D" type="RigidBody2D" parent="."]
position = Vector2(284, 160)
inertia = 1.0
gravity_scale = 0.0
script = ExtResource("1_tvtca")
[node name="Spinner" type="Sprite2D" parent="RigidBody2D"]
texture = ExtResource("1_tpr4h")
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
shape = SubResource("CircleShape2D_g7bhb")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="UI" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/UI"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -20.0
offset_top = -40.0
offset_right = 20.0
grow_horizontal = 2
grow_vertical = 0
[node name="SpinSpeedLabel" type="Label" parent="CanvasLayer/UI/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "Spinning speed:"