initial commit
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
[gd_scene format=3 uid="uid://bl1fe6rldpncu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cr4oydwvmm28y" path="res://widgets/accelerometer/scripts/accelerometer_widget_node.gd" id="1_hqf45"]
|
||||
[ext_resource type="Script" uid="uid://cr4y57bw6jfd1" path="res://MoveableControl.gd" id="2_pog3i"]
|
||||
|
||||
[node name="AccelerometerWidget" type="Node2D" unique_id=1057256615]
|
||||
script = ExtResource("1_hqf45")
|
||||
metadata/_custom_type_script = "uid://cr4oydwvmm28y"
|
||||
|
||||
[node name="Panel" type="Panel" parent="." unique_id=1154284634]
|
||||
visible = false
|
||||
offset_left = -103.0
|
||||
offset_top = -103.0
|
||||
offset_right = 106.0
|
||||
offset_bottom = 106.0
|
||||
|
||||
[node name="AccelVector" type="Line2D" parent="." unique_id=108699994]
|
||||
points = PackedVector2Array(0, 0, 100, 100)
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
|
||||
[node name="XVector" type="Line2D" parent="." unique_id=1227326235]
|
||||
points = PackedVector2Array(0, 0, -100, -100)
|
||||
width = 5.0
|
||||
default_color = Color(1, 0, 0, 1)
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
|
||||
[node name="YVector" type="Line2D" parent="." unique_id=1118780031]
|
||||
width = 5.0
|
||||
default_color = Color(0, 1, 0, 1)
|
||||
begin_cap_mode = 2
|
||||
end_cap_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=749031600]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
|
||||
[node name="MovableControl" type="Control" parent="." unique_id=345939378 node_paths=PackedStringArray("move_target")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = -103.0
|
||||
offset_top = -103.0
|
||||
offset_right = 106.0
|
||||
offset_bottom = 106.0
|
||||
mouse_filter = 1
|
||||
script = ExtResource("2_pog3i")
|
||||
move_target = NodePath("..")
|
||||
metadata/_custom_type_script = "uid://cr4y57bw6jfd1"
|
||||
Reference in New Issue
Block a user