Diffstat (limited to 'ui/scenes/MobileJoystick.tscn')
| -rw-r--r-- | ui/scenes/MobileJoystick.tscn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/scenes/MobileJoystick.tscn b/ui/scenes/MobileJoystick.tscn new file mode 100644 index 0000000..b1a94ed --- /dev/null +++ b/ui/scenes/MobileJoystick.tscn @@ -0,0 +1,22 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://sprites/touchbuttonthing.png" type="Texture" id=1] +[ext_resource path="res://sprites/innercircle.png" type="Texture" id=3] +[ext_resource path="res://ui/scripts/Joystick.gd" type="Script" id=4] + +[sub_resource type="CircleShape2D" id=1] +radius = 32.0 + +[node name="MobileJoystick" type="CanvasLayer"] + +[node name="TouchScreenButton" type="TouchScreenButton" parent="."] +modulate = Color( 1, 1, 1, 0.392157 ) +position = Vector2( 8, 104 ) +normal = ExtResource( 1 ) +shape = SubResource( 1 ) +passby_press = true +script = ExtResource( 4 ) + +[node name="Button" type="Sprite" parent="TouchScreenButton"] +position = Vector2( 32, 32 ) +texture = ExtResource( 3 ) |