actionrpg-heartbeast/ActionRPG-HeartBeast/touch_controls/TouchControls.tscn
2024-12-31 16:25:23 -05:00

45 lines
1.3 KiB
Plaintext

[gd_scene load_steps=7 format=2]
[ext_resource path="res://UI/TouchButtons6.png" type="Texture2D" id=1]
[ext_resource path="res://UI/TouchButtons3.png" type="Texture2D" id=2]
[ext_resource path="res://UI/TouchButtons5.png" type="Texture2D" id=3]
[ext_resource path="res://UI/TouchButtons1.png" type="Texture2D" id=4]
[ext_resource path="res://UI/TouchButtons2.png" type="Texture2D" id=5]
[ext_resource path="res://UI/TouchButtons4.png" type="Texture2D" id=6]
[node name="TouchControls" type="CanvasLayer"]
[node name="Left" type="TouchScreenButton" parent="."]
position = Vector2( 6, 133 )
normal = ExtResource( 4 )
passby_press = true
action = "ui_left"
[node name="Right" type="TouchScreenButton" parent="."]
position = Vector2( 40, 133 )
normal = ExtResource( 2 )
passby_press = true
action = "ui_right"
[node name="Up" type="TouchScreenButton" parent="."]
position = Vector2( 23, 116 )
normal = ExtResource( 5 )
passby_press = true
action = "ui_up"
[node name="Down" type="TouchScreenButton" parent="."]
position = Vector2( 23, 150 )
normal = ExtResource( 6 )
passby_press = true
action = "ui_down"
[node name="Attack" type="TouchScreenButton" parent="."]
position = Vector2( 255, 146 )
normal = ExtResource( 3 )
action = "attack"
[node name="Roll" type="TouchScreenButton" parent="."]
position = Vector2( 286, 120 )
normal = ExtResource( 1 )
action = "roll"