1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-24 16:54:19 +00:00

Create initial seeds scene

This commit is contained in:
Steffo 2023-01-08 21:47:04 +01:00
parent fb56a6728a
commit 75bcee3a3b
Signed by: steffo
GPG key ID: 6965406171929D01

51
island/Seeds.tscn Normal file
View file

@ -0,0 +1,51 @@
[gd_scene load_steps=6 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="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
[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"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
[editable path="CollectibleByPlayer"]