-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmobile_inputs.tscn
52 lines (44 loc) · 1.7 KB
/
mobile_inputs.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
50
51
52
[gd_scene load_steps=10 format=2]
[ext_resource path="res://assets/con_run.png" type="Texture" id=1]
[ext_resource path="res://assets/con_jmp.png" type="Texture" id=2]
[ext_resource path="res://assets/con_arrow.png" type="Texture" id=3]
[ext_resource path="res://assets/con_jmp_pressed.png" type="Texture" id=4]
[ext_resource path="res://assets/con_arrow_pressed.png" type="Texture" id=5]
[ext_resource path="res://assets/con_run_pressed.png" type="Texture" id=6]
[ext_resource path="res://assets/restart.png" type="Texture" id=7]
[ext_resource path="res://run.gd" type="Script" id=8]
[ext_resource path="res://assets/add.png" type="Texture" id=9]
[node name="CanvasLayer" type="CanvasLayer"]
[node name="left" type="TouchScreenButton" parent="."]
position = Vector2( 153, 720 )
rotation = 3.14159
scale = Vector2( 0.85, 0.85 )
normal = ExtResource( 3 )
pressed = ExtResource( 5 )
action = "move_left"
[node name="right" type="TouchScreenButton" parent="."]
position = Vector2( 191, 618 )
scale = Vector2( 0.85, 0.85 )
normal = ExtResource( 3 )
pressed = ExtResource( 5 )
action = "move_right"
[node name="run" type="TouchScreenButton" parent="."]
position = Vector2( 1014, 598 )
normal = ExtResource( 1 )
pressed = ExtResource( 6 )
action = "toggle_run"
script = ExtResource( 8 )
[node name="jump" type="TouchScreenButton" parent="."]
position = Vector2( 1153, 599 )
normal = ExtResource( 2 )
pressed = ExtResource( 4 )
action = "jump"
[node name="restart" type="TouchScreenButton" parent="."]
position = Vector2( 1177, -20 )
normal = ExtResource( 7 )
action = "ui_cancel"
[node name="add_bguy" type="TouchScreenButton" parent="."]
position = Vector2( 1065, -23 )
rotation = -1.01407e-05
normal = ExtResource( 9 )
action = "hard_mode"