Files
test-card-game/Game.tscn
T
Larra Emily Van Loon 1c78677eb3 initial commit
2026-05-12 12:02:30 +02:00

37 lines
1.3 KiB
Plaintext

[gd_scene format=3 uid="uid://bjnuwqt2n1qwo"]
[ext_resource type="Script" uid="uid://jyebvspa2jud" path="res://game_state.gd" id="1_wbfu4"]
[ext_resource type="Script" uid="uid://75ywelc4x5ly" path="res://3dScene.gd" id="2_u44n3"]
[node name="Node" type="Node" unique_id=111377658]
[node name="GameState" type="Node" parent="." unique_id=1610400664]
script = ExtResource("1_wbfu4")
[node name="Control" type="Control" parent="." unique_id=485009883]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="Button" type="Button" parent="Control" unique_id=7224124]
layout_mode = 0
offset_left = 509.0
offset_top = 535.0
offset_right = 639.0
offset_bottom = 603.0
text = "test"
[node name="Node3D" type="Node3D" parent="." unique_id=218155985 node_paths=PackedStringArray("HandParent")]
script = ExtResource("2_u44n3")
HandParent = NodePath("Hand")
[node name="Camera3D" type="Camera3D" parent="Node3D" unique_id=1715232584]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.1365387)
[node name="Hand" type="Node3D" parent="Node3D" unique_id=524923868]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, -2)
[connection signal="card_drawn" from="GameState" to="Node3D" method="_on_game_state_card_drawn"]
[connection signal="button_down" from="Control/Button" to="GameState" method="_on_button_button_down"]