61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bqnre1721kev2"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bgoo1lbt28na" path="res://Models/grape_man.tscn" id="1_3cekm"]
|
|
[ext_resource type="Script" path="res://tests/test_grape_man_animation.gd" id="1_uhk63"]
|
|
|
|
[node name="test_grape_man_animation" type="Node3D"]
|
|
script = ExtResource("1_uhk63")
|
|
|
|
[node name="grape_man" parent="." instance=ExtResource("1_3cekm")]
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
[node name="Control" type="Control" parent="CanvasLayer"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 11.0
|
|
offset_top = 15.0
|
|
offset_right = -768.0
|
|
offset_bottom = 15.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Pickup" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Pickup"
|
|
|
|
[node name="Hold" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Hold"
|
|
|
|
[node name="Drop" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Drop"
|
|
|
|
[node name="Idle" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Idle"
|
|
|
|
[node name="Walk" type="Button" parent="CanvasLayer/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Walk"
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(0.551151, 0, 0.834406, 0, 1, 0, -0.834406, 0, 0.551151, 10.2206, 6.04514, 5.32455)
|
|
|
|
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/Pickup" to="." method="_on_pickup_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/Hold" to="." method="_on_hold_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/Drop" to="." method="_on_drop_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/Idle" to="." method="_on_idle_pressed"]
|
|
[connection signal="pressed" from="CanvasLayer/Control/VBoxContainer/Walk" to="." method="_on_walk_pressed"]
|