From 5afd1a00a58d53c56ecc003ff0705c0a8773b19f Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 14 Nov 2025 10:16:53 +0200 Subject: Add touchscreen button icons --- touch_screen_button.tscn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 touch_screen_button.tscn (limited to 'touch_screen_button.tscn') diff --git a/touch_screen_button.tscn b/touch_screen_button.tscn new file mode 100644 index 0000000..5b65811 --- /dev/null +++ b/touch_screen_button.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=3 format=3 uid="uid://dwl0fylftkrn7"] + +[ext_resource type="Script" uid="uid://d28xghvh1kwa5" path="res://touch_screen_button.gd" id="1_8gxd0"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_l8v81"] +size = Vector2(40, 40) + +[node name="TouchScreenButtonRight" type="TouchScreenButton"] +shape = SubResource("RectangleShape2D_l8v81") +passby_press = true +visibility_mode = 1 +script = ExtResource("1_8gxd0") + +[node name="TextureRect" type="TextureRect" parent="."] +offset_left = -8.0 +offset_top = -8.0 +offset_right = 8.0 +offset_bottom = 8.0 +expand_mode = 1 -- cgit v1.3