2025-07-08 15:58:46 +02:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://b55xpcxk7g5ph"]
|
2025-07-08 11:32:52 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://c2odugkbbppxn" path="res://cards/playing_card.gd" id="1_t6o5d"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dxiv47be5dsll" path="res://cards/playing_card.glb" id="2_enav7"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://i0wpcxpk7g2c" path="res://cards/textures/front_test.webp" id="3_jeoeb"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cih4y1hskimrs" path="res://cards/textures/back_test.webp" id="4_exvuq"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_nwj5s"]
|
|
|
|
|
resource_local_to_scene = true
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hel13"]
|
|
|
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_auvip"]
|
|
|
|
|
albedo_texture = ExtResource("4_exvuq")
|
|
|
|
|
|
2025-07-08 15:58:46 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_t6o5d"]
|
|
|
|
|
size = Vector3(2.38, 3.7, 0.05)
|
|
|
|
|
|
|
|
|
|
[node name="PlayingCard" type="Area3D" node_paths=PackedStringArray("card_mesh")]
|
2025-07-08 11:32:52 +02:00
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
2025-07-08 15:58:46 +02:00
|
|
|
collision_layer = 8
|
|
|
|
|
collision_mask = 0
|
2025-07-08 11:32:52 +02:00
|
|
|
script = ExtResource("1_t6o5d")
|
2025-07-08 15:58:46 +02:00
|
|
|
card_mesh = NodePath("Model/Cube")
|
2025-07-08 11:32:52 +02:00
|
|
|
front_texture = ExtResource("3_jeoeb")
|
2025-07-08 22:36:36 +02:00
|
|
|
move_duration = 0.3
|
2025-07-08 11:32:52 +02:00
|
|
|
|
2025-07-08 15:58:46 +02:00
|
|
|
[node name="Model" parent="." instance=ExtResource("2_enav7")]
|
2025-07-08 11:32:52 +02:00
|
|
|
|
2025-07-08 15:58:46 +02:00
|
|
|
[node name="Cube" parent="Model" index="0"]
|
2025-07-08 11:32:52 +02:00
|
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_nwj5s")
|
|
|
|
|
surface_material_override/1 = SubResource("StandardMaterial3D_hel13")
|
|
|
|
|
surface_material_override/2 = SubResource("StandardMaterial3D_auvip")
|
|
|
|
|
|
2025-07-08 15:58:46 +02:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
|
shape = SubResource("BoxShape3D_t6o5d")
|
|
|
|
|
|
|
|
|
|
[connection signal="input_event" from="." to="." method="_on_input_event"]
|
|
|
|
|
|
|
|
|
|
[editable path="Model"]
|