This repository has been archived on 2026-05-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

41 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

[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://rdmwhsujk7c0" path="res://cards/textures/back_temp.webp" id="4_t6o5d"]
2025-07-08 11:32:52 +02:00
[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_t6o5d")
2025-07-08 11:32:52 +02:00
[sub_resource type="BoxShape3D" id="BoxShape3D_t6o5d"]
size = Vector3(0.275146, 0.427734, 0.0175781)
[node name="PlayingCard" type="Area3D" node_paths=PackedStringArray("card_mesh")]
collision_layer = 8
collision_mask = 0
2025-07-08 11:32:52 +02:00
script = ExtResource("1_t6o5d")
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
[node name="Model" parent="." instance=ExtResource("2_enav7")]
2025-07-08 11:32:52 +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")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_t6o5d")
[connection signal="input_event" from="." to="." method="_on_input_event"]
[editable path="Model"]