1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-22 15:54:20 +00:00
pineapple-surf/island/Island.tscn

74 lines
104 KiB
Text
Raw Normal View History

[gd_scene load_steps=11 format=3 uid="uid://bg88gc1w1gw5m"]
2023-01-07 00:55:31 +00:00
2023-01-07 02:29:15 +00:00
[ext_resource type="Texture2D" uid="uid://bdoifsf6k0qb8" path="res://assets/water_tile.png" id="1_w6ara"]
2023-01-07 04:32:37 +00:00
[ext_resource type="ArrayMesh" uid="uid://c8knvy5ras8jo" path="res://assets/island_model/island.obj" id="2_r00hx"]
[ext_resource type="PackedScene" uid="uid://dnrl0uycbw3lp" path="res://player/Player.tscn" id="3_5378m"]
[sub_resource type="GDScript" id="GDScript_78lo3"]
script/source = "extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$Island.get_active_material(0).texture_filter = BaseMaterial3D.TextureFilter.TEXTURE_FILTER_NEAREST
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
"
2023-01-07 00:55:31 +00:00
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_i4xeb"]
shading_mode = 0
specular_mode = 1
albedo_texture = ExtResource("1_w6ara")
uv1_scale = Vector3(0.5, 0.5, 0.5)
uv1_triplanar = true
uv2_triplanar = true
texture_filter = 0
proximity_fade_distance = 30.89
[sub_resource type="PlaneMesh" id="PlaneMesh_4ibso"]
material = SubResource("StandardMaterial3D_i4xeb")
size = Vector2(1000, 1000)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_droeh"]
data = PackedVector3Array(-1, 3, 0, 0, 3, 1, 0, 3, 0, -1, 3, 1, 0, 3, 1, -1, 3, 0, 4, 2, 15, 3, 2, 14, 4, 2, 14, 3, 2, 15, 3, 2, 14, 4, 2, 15, 5, 2, 15, 4, 2, 14, 5, 2, 14, 4, 2, 15, 4, 2, 14, 5, 2, 15, 5, 2, 14, 4, 2, 13, 5, 2, 13, 4, 2, 14, 4, 2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 2, 14, 3, 2, 15, 0, 2, 14, -1, 2, 13, 0, 2, 13, -1, 2, 14, -1, 2, 13, 0, 2, 14, 1, 2, 14, 0, 2, 13, 1, 2, 13, 0, 2, 14, 0, 2, 13, 1, 2, 14, 2, 2, 14, 1, 2, 13, 2, 2, 13, 1, 2, 14, 1, 2, 13, 2, 2, 14, 3, 2, 14, 2, 2, 13, 3, 2, 13, 2, 2, 14, 2, 2, 13, 3, 2, 14, 1, 2, 13, 0, 2, 12, 1, 2, 12, 0, 2, 13, 0, 2, 12, 1, 2, 13, 2, 2, 13, 1, 2, 12, 2, 2, 12, 1, 2, 13, 1, 2, 12, 2, 2, 13, 3, 2, 13, 2, 2, 12, 3, 2, 12, 2, 2, 13, 2, 2, 12, 3, 2, 13, 3, 2, 12, 2, 2, 11, 3, 2, 11, 2, 2, 12, 2, 2, 11, 3, 2, 12, 2, 2, 12, 1, 2, 11, 2, 2, 11, 1, 2, 12, 1, 2, 11, 2, 2, 12, 0, 2, 12, -1, 2, 11, 0, 2, 11, -1, 2, 12, -1, 2, 11, 0, 2, 12, 0, 2, 13, -1, 2, 12, 0, 2, 12, -1, 2, 13, -1, 2, 12, 0, 2, 13, 1, 2, 12, 0, 2, 11, 1, 2, 11, 0, 2, 12, 0, 2, 11, 1, 2, 12, 0, 2, 11, -1, 2, 10, 0, 2, 10, -1, 2, 11, -1, 2, 10, 0, 2, 11, 1, 2, 11, 0, 2, 10, 1, 2, 10, 0, 2, 11, 0, 2, 10, 1, 2, 11, 2, 2, 11, 1, 2, 10, 2, 2, 10, 1, 2, 11, 1, 2, 10, 2, 2, 11, 3, 2, 11, 2, 2, 10, 3, 2, 10, 2, 2, 11, 2, 2, 10, 3, 2, 11, 0, 2, 10, -1, 2, 9, 0, 2, 9, -1, 2, 10, -1, 2, 9, 0, 2, 10, 1, 2, 10, 0, 2, 9, 1, 2, 9, 0, 2, 10, 0, 2, 9, 1, 2, 10, 2, 2, 10, 1, 2, 9, 2, 2, 9, 1, 2, 10, 1, 2, 9, 2, 2, 10, 3, 2, 10, 2, 2, 9, 3, 2, 9, 2, 2, 10, 2, 2, 9, 3, 2, 10, 1, 2, 8, 0, 2, 7, 1, 2, 7, 0, 2, 8, 0, 2, 7, 1, 2, 8, 0, 2, 8, -1, 2, 7, 0, 2, 7, -1, 2, 8, -1, 2, 7, 0, 2, 8, -4, 2, 9, -5, 2, 8, -4, 2, 8, -5, 2, 9, -5, 2, 8, -4, 2, 9, -4, 2, 8, -5, 2, 7, -4, 2, 7, -5, 2, 8, -5, 2, 7, -4, 2, 8, -4, 2, 7, -5, 2, 6, -4, 2, 6, -5, 2, 7, -5, 2, 6, -4, 2, 7, -3, 2, 7, -4, 2, 6, -3, 2, 6, -4, 2, 7, -4, 2, 6, -3, 2, 7, -2, 2, 7, -3, 2, 6, -2, 2, 6, -3, 2, 7, -3, 2, 6, -2, 2, 7, -1, 2, 7, -2, 2, 6, -1, 2, 6, -2, 2, 7, -2, 2, 6, -1, 2, 7, -1, 2, 9, -2, 2, 8, -1, 2, 8, -2, 2, 9, -2, 2, 8, -1, 2, 9, -1, 2, 8, -2, 2, 7, -1, 2, 7, -2, 2, 8, -2, 2, 7, -1, 2, 8, -2, 2, 9, -3, 2, 8, -2, 2, 8, -3, 2, 9, -3, 2, 8, -2, 2, 9, -2, 2, 8, -3, 2, 7, -2, 2, 7, -3, 2, 8, -3, 2, 7, -2, 2, 8, -3, 2, 8, -4, 2, 7, -3, 2, 7, -4, 2, 8, -4, 2, 7, -3, 2, 8, -3, 2, 9, -4, 2, 8, -3, 2, 8, -4, 2, 9, -4, 2, 8, -3, 2, 9, -4, 2, 11, -5, 2, 10, -4, 2, 10, -5, 2, 11, -5, 2, 10, -4, 2, 11, -4, 2, 10, -5, 2, 9, -4, 2, 9, -5, 2, 10, -5, 2, 9, -4, 2, 10, -1, 2, 11, -2, 2, 10, -1, 2, 10, -2, 2, 11, -2, 2, 10, -1, 2, 11, 3, 3, -1, 2, 3, -2, 3, 3, -2, 2, 3, -1, 2, 3, -2, 3, 3, -1, 1, 3, 2, 0, 3, 1, 1, 3, 1, 0, 3, 2, 0, 3, 1, 1, 3, 2, 4, 3, -1, 3, 3, -2, 4, 3, -2, 3, 3, -1, 3, 3, -2, 4, 3, -1, 1, 3, -2, 0, 3, -3, 1, 3, -3, 0, 3, -2, 0, 3, -3, 1, 3, -2, 3, 3, 1, 2, 3, 0, 3, 3, 0, 2, 3, 1, 2, 3, 0, 3, 3, 1, 3, 3, 4, 2, 3, 3, 3, 3, 3, 2, 3, 4, 2, 3, 3, 3, 3, 4, 4, 3, 0, 3, 3, -1, 4, 3, -1, 3, 3, 0, 3, 3, -1, 4, 3, 0, 5, 3, -2, 4, 3, -3, 5, 3, -3, 4, 3, -2, 4, 3, -3, 5, 3, -2, 4, 3, 2, 3, 3, 1, 4, 3, 1, 3, 3, 2, 3, 3, 1
2023-01-07 00:55:31 +00:00
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_htlhh"]
sky_top_color = Color(0.356863, 0.623529, 0.937255, 1)
sky_horizon_color = Color(0.254902, 0.623529, 0.8, 1)
ground_bottom_color = Color(0.254902, 0.623529, 0.8, 1)
ground_horizon_color = Color(0.254902, 0.623529, 0.8, 1)
ground_curve = 7.89838
[sub_resource type="Sky" id="Sky_j6hso"]
sky_material = SubResource("ProceduralSkyMaterial_htlhh")
[sub_resource type="Environment" id="Environment_302o8"]
background_mode = 2
sky = SubResource("Sky_j6hso")
[node name="Island" type="Node3D"]
script = SubResource("GDScript_78lo3")
2023-01-07 00:55:31 +00:00
2023-01-07 02:34:41 +00:00
[node name="Sea" type="MeshInstance3D" parent="."]
2023-01-07 00:55:31 +00:00
mesh = SubResource("PlaneMesh_4ibso")
2023-01-07 04:32:37 +00:00
[node name="Island" type="MeshInstance3D" parent="."]
mesh = ExtResource("2_r00hx")
[node name="StaticBody3D" type="StaticBody3D" parent="Island"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Island/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_droeh")
2023-01-07 00:55:31 +00:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_302o8")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -0.337161, 0.941447, 0, -0.941447, -0.337161, 0, 2.08989, 0)
[node name="Player" parent="." instance=ExtResource("3_5378m")]
transform = Transform3D(-1, 3.48787e-16, -8.74228e-08, 3.48787e-16, 1, -3.48787e-16, 8.74228e-08, -3.48787e-16, -1, 0, 4.89631, 0)