mirror of
https://github.com/Steffo99/pineapple-surf.git
synced 2024-11-24 16:54:19 +00:00
56 lines
2.3 KiB
Text
56 lines
2.3 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://cm0apcnq0f26s"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cdpn34mdaq545" path="res://assets/island_model/texture_1.png" id="1_e06sb"]
|
|
[ext_resource type="Script" path="res://island/Seeds.gd" id="1_ndq82"]
|
|
[ext_resource type="AudioStream" uid="uid://4bkqsij7u6ss" path="res://assets/collect_2.wav" id="4_yfll2"]
|
|
[ext_resource type="PackedScene" uid="uid://ci0hy0d4d1476" path="res://island/CollectibleByPlayer.tscn" id="5_xl41o"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_meps2"]
|
|
resource_name = "material1"
|
|
transparency = 1
|
|
shading_mode = 0
|
|
albedo_texture = ExtResource("1_e06sb")
|
|
texture_filter = 0
|
|
billboard_mode = 1
|
|
|
|
[sub_resource type="ArrayMesh" id="ArrayMesh_7vmhj"]
|
|
_surfaces = [{
|
|
"aabb": AABB(-0.5, -0.5, 0, 1.00001, 1.00001, 1e-05),
|
|
"attribute_data": PackedByteArray(85, 85, 21, 63, 110, 219, 54, 63, 0, 0, 0, 63, 146, 36, 73, 63, 0, 0, 0, 63, 110, 219, 54, 63, 85, 85, 21, 63, 146, 36, 73, 63),
|
|
"format": 4119,
|
|
"index_count": 6,
|
|
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 3, 0, 1, 0, 0, 0),
|
|
"material": SubResource("StandardMaterial3D_meps2"),
|
|
"name": "material1",
|
|
"primitive": 3,
|
|
"vertex_count": 4,
|
|
"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 191, 0, 0, 0, 191, 0, 0, 0, 191, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 191, 0, 0, 0, 191, 0, 0, 0, 63, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 191, 0, 0, 0, 63, 0, 0, 0, 191, 0, 0, 0, 0, 255, 127, 255, 127, 255, 255, 255, 191)
|
|
}]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_geieh"]
|
|
radius = 0.3
|
|
|
|
[node name="Seeds" type="RigidBody3D"]
|
|
collision_layer = 2
|
|
collision_mask = 5
|
|
mass = 0.01
|
|
gravity_scale = 0.0
|
|
lock_rotation = true
|
|
linear_damp = 1.0
|
|
script = ExtResource("1_ndq82")
|
|
|
|
[node name="Seeds" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("ArrayMesh_7vmhj")
|
|
|
|
[node name="Shape" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("SphereShape3D_geieh")
|
|
|
|
[node name="CollectibleByPlayer" parent="." instance=ExtResource("5_xl41o")]
|
|
target_path = NodePath("..")
|
|
|
|
[node name="CollectSound" parent="CollectibleByPlayer" index="0"]
|
|
stream = ExtResource("4_yfll2")
|
|
|
|
[connection signal="collected" from="CollectibleByPlayer" to="." method="_on_collectible_by_player_collected"]
|
|
|
|
[editable path="CollectibleByPlayer"]
|