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
[gd_scene load_steps=5 format=2]

[ext_resource path="res://ui/scripts/MobileControls.gd" type="Script" id=1]
[ext_resource path="res://sprites/attakbutton.png" type="Texture" id=2]
[ext_resource path="res://sprites/changegun.png" type="Texture" id=3]

[sub_resource type="CircleShape2D" id=1]
radius = 24.0

[node name="MobileControls" type="CanvasLayer"]
script = ExtResource( 1 )

[node name="Attack" type="TouchScreenButton" parent="."]
modulate = Color( 1, 1, 1, 0.392157 )
position = Vector2( 280, 144 )
normal = ExtResource( 2 )
shape = SubResource( 1 )
passby_press = true
action = "shoot_1"

[node name="Change gun" type="TouchScreenButton" parent="."]
modulate = Color( 1, 1, 1, 0.392157 )
position = Vector2( 7, 5 )
normal = ExtResource( 3 )
shape = SubResource( 1 )
passby_press = true
action = "ui_focus_next"