[gd_scene format=3 uid="uid://dt0eq2qhu7jk4"] [ext_resource type="PackedScene" uid="uid://hk3x2wwitymh" path="res://assets/blender/tarte.blend" id="1_88tfx"] [ext_resource type="Script" uid="uid://bp52fs0u3dch3" path="res://scripts/tarte.gd" id="1_kwh10"] [sub_resource type="BoxShape3D" id="BoxShape3D_ilty0"] size = Vector3(1.5527344, 2.2087402, 1) [sub_resource type="ViewportTexture" id="ViewportTexture_ka232"] viewport_path = NodePath("Sprite3D/SubViewport") [sub_resource type="ViewportTexture" id="ViewportTexture_8cky5"] viewport_path = NodePath("Sprite3DE/SubViewport") [sub_resource type="BoxShape3D" id="BoxShape3D_ka232"] size = Vector3(1.5498047, 2.1953125, 1) [node name="tarte" type="StaticBody3D" unique_id=2051373127 groups=["tarte"]] collision_layer = 2 collision_mask = 2 script = ExtResource("1_kwh10") [node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=915895202] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.801399) shape = SubResource("BoxShape3D_ilty0") [node name="tarte" parent="." unique_id=1427515085 instance=ExtResource("1_88tfx")] transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0) [node name="creme_citron" parent="tarte" index="1" unique_id=61709737] visible = false [node name="creme_abricot" parent="tarte" index="2" unique_id=645269023] visible = false [node name="creme_myrtille" parent="tarte" index="3" unique_id=716867091] visible = false [node name="meringue" parent="tarte" index="4" unique_id=2087739349] visible = false [node name="croisillon" parent="tarte" index="5" unique_id=1552213629] visible = false [node name="Sprite3D" type="Sprite3D" parent="." unique_id=267862728] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.27445316, 0) texture = SubResource("ViewportTexture_ka232") [node name="SubViewport" type="SubViewport" parent="Sprite3D" unique_id=1023333929] transparent_bg = true size = Vector2i(280, 64) [node name="Label" type="Label" parent="Sprite3D/SubViewport" unique_id=809404520] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -135.5 offset_top = -21.0 offset_right = 135.5 offset_bottom = 21.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 theme_override_font_sizes/font_size = 30 text = "Tarte aux myrtilles" [node name="Sprite3DE" type="Sprite3D" parent="." unique_id=1170333557] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0488976, -6.169081e-05) visible = false billboard = 2 texture = SubResource("ViewportTexture_8cky5") [node name="SubViewport" type="SubViewport" parent="Sprite3DE" unique_id=2080476136] transparent_bg = true [node name="Label" type="Label" parent="Sprite3DE/SubViewport" unique_id=963998169] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -26.5 offset_top = -21.0 offset_right = 26.5 offset_bottom = 21.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 theme_override_font_sizes/font_size = 30 text = "[ E ]" [node name="Area3E" type="Area3D" parent="." unique_id=1920052110] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3E" unique_id=925587955] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.80049235) shape = SubResource("BoxShape3D_ka232") [connection signal="body_entered" from="Area3E" to="." method="_on_area_3e_body_entered"] [connection signal="body_exited" from="Area3E" to="." method="_on_area_3e_body_exited"] [editable path="tarte"]