Recreate lidia controls with Node2D

This commit is contained in:
Marek S. Łukasiewicz 2025-12-14 00:12:56 +01:00
parent f3d38c7569
commit 821072eae5
23 changed files with 433 additions and 35 deletions

View file

@ -0,0 +1,54 @@
[gd_scene load_steps=7 format=3 uid="uid://bgkpwebqksth5"]
[ext_resource type="Script" uid="uid://ds6f8cur05ka0" path="res://instruments/controls.gd" id="1_g7kvs"]
[ext_resource type="Texture2D" uid="uid://b0oeokas7mq4q" path="res://instruments/controls-background.png" id="2_wbvwt"]
[ext_resource type="Texture2D" uid="uid://c561m3pvc0kop" path="res://instruments/trim-long.png" id="3_37ekc"]
[ext_resource type="Texture2D" uid="uid://wdqnlguxmi2a" path="res://instruments/current-dot.png" id="4_4updv"]
[ext_resource type="Texture2D" uid="uid://dytpn8rcdimr" path="res://instruments/trim-short.png" id="5_ni3tk"]
[ext_resource type="Texture2D" uid="uid://dkda6ju5daocf" path="res://instruments/current-arrow.png" id="6_mfntf"]
[node name="Controls" type="Node2D"]
script = ExtResource("1_g7kvs")
[node name="Background" type="Sprite2D" parent="."]
position = Vector2(256, 256)
texture = ExtResource("2_wbvwt")
[node name="CyclicOrigin" type="Node2D" parent="."]
position = Vector2(309, 189)
[node name="TrimLongitudinal" type="Sprite2D" parent="CyclicOrigin"]
position = Vector2(10, 0)
texture = ExtResource("3_37ekc")
[node name="TrimLateral" type="Sprite2D" parent="CyclicOrigin"]
position = Vector2(0, 10)
rotation = 1.5708
texture = ExtResource("3_37ekc")
[node name="CurrentCyclic" type="Sprite2D" parent="CyclicOrigin"]
texture = ExtResource("4_4updv")
[node name="CollectiveOrigin" type="Node2D" parent="."]
position = Vector2(72.5, 352)
[node name="TrimCollective" type="Sprite2D" parent="CollectiveOrigin"]
position = Vector2(-10.5, 0)
texture = ExtResource("5_ni3tk")
[node name="CurrentCollective" type="Sprite2D" parent="CollectiveOrigin"]
position = Vector2(20.5, 0)
texture = ExtResource("6_mfntf")
[node name="PedalsOrigin" type="Node2D" parent="."]
position = Vector2(309, 425.5)
[node name="TrimPedals" type="Sprite2D" parent="PedalsOrigin"]
position = Vector2(0, 10.5)
rotation = -1.5708
texture = ExtResource("5_ni3tk")
[node name="CurrentPedals" type="Sprite2D" parent="PedalsOrigin"]
position = Vector2(0, -21.5)
rotation = -1.5708
texture = ExtResource("6_mfntf")