blob: 333b0adfbaa8bac0ca22362007f6411c7fc6be47 (
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
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
|
[gd_scene load_steps=7 format=3 uid="uid://cvx1vj47uf5k2"]
[ext_resource type="Script" path="res://ui/mobile/mobile_controls.gd" id="1_ts8mv"]
[ext_resource type="PackedScene" uid="uid://evppekv62x0g" path="res://ui/mobile/button.tscn" id="2_7um2b"]
[ext_resource type="Texture2D" uid="uid://cywefso7qpdan" path="res://ui/assets/tilemap_white.png" id="2_n84be"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e3qjv"]
bg_color = Color(0.0313726, 0.156863, 0.180392, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hxyr7"]
bg_color = Color(0.0297164, 0.155372, 0.181691, 1)
border_width_left = 1
border_width_top = 2
border_width_right = 1
border_width_bottom = 1
border_color = Color(0, 0, 0, 1)
border_blend = true
[sub_resource type="AtlasTexture" id="AtlasTexture_kr7mh"]
atlas = ExtResource("2_n84be")
region = Rect2(445, 292, 10, 10)
filter_clip = true
[node name="MobileControls" type="CanvasLayer"]
script = ExtResource("1_ts8mv")
[node name="Control" type="Panel" parent="."]
offset_top = 144.0
offset_right = 160.0
offset_bottom = 249.0
theme_override_styles/panel = SubResource("StyleBoxFlat_e3qjv")
[node name="Up" parent="Control" instance=ExtResource("2_7um2b")]
layout_mode = 0
offset_bottom = 26.0
theme_override_styles/panel = SubResource("StyleBoxFlat_hxyr7")
texture = SubResource("AtlasTexture_kr7mh")
label = ""
action = &"ui_up"
[node name="Down" parent="Control" instance=ExtResource("2_7um2b")]
layout_mode = 0
offset_left = 160.0
offset_top = 92.0
offset_right = 320.0
offset_bottom = 118.0
rotation = 3.14159
texture = SubResource("AtlasTexture_kr7mh")
label = ""
action = &"ui_down"
[node name="Left" parent="Control" instance=ExtResource("2_7um2b")]
layout_mode = 0
offset_left = 160.0
offset_top = 26.0
offset_right = 200.0
offset_bottom = 106.0
rotation = 1.5708
texture = SubResource("AtlasTexture_kr7mh")
label = ""
action = &"ui_right"
[node name="Right" parent="Control" instance=ExtResource("2_7um2b")]
layout_mode = 0
offset_top = 66.0
offset_right = 40.0
offset_bottom = 146.0
rotation = -1.5708
texture = SubResource("AtlasTexture_kr7mh")
label = ""
action = &"ui_left"
[node name="Start" parent="Control" instance=ExtResource("2_7um2b")]
layout_mode = 0
offset_top = 92.0
offset_bottom = 105.0
label = "Start"
action = &"ui_accept"
|