Files
agame/world/main.tscn
T
2026-09-23 17:37:07 +08:00

53 lines
2.2 KiB
Plaintext

[gd_scene format=3 uid="uid://bp8l1uwgshc86"]
[ext_resource type="Script" uid="uid://11rbhffe5dhv" path="res://world/main.gd" id="1_hyim0"]
[ext_resource type="PackedScene" uid="uid://bekuuw153mv03" path="res://character/player/player.tscn" id="2_4f7fj"]
[ext_resource type="Sky" uid="uid://bi632suyifms5" path="res://world/sky/cartoon_sky.tres" id="2_cartoon"]
[ext_resource type="PackedScene" path="res://world/ocean/sea.tscn" id="3_sea"]
[ext_resource type="Material" path="res://world/ocean/island_mesa.tres" id="4_island"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hyim0"]
size = Vector3(58, 0.5, 58)
[sub_resource type="PlaneMesh" id="IslandMesh"]
size = Vector2(120, 120)
subdivide_width = 160
subdivide_depth = 160
[sub_resource type="Environment" id="Environment_gu74f"]
background_mode = 2
sky = ExtResource("2_cartoon")
ambient_light_source = 3
reflected_light_source = 2
[node name="Main" type="Node3D" unique_id=631359418]
script = ExtResource("1_hyim0")
player_scene = ExtResource("2_4f7fj")
[node name="Ground" type="StaticBody3D" parent="." unique_id=2052319900]
[node name="GroundShape" type="CollisionShape3D" parent="Ground" unique_id=1200062535]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
shape = SubResource("BoxShape3D_hyim0")
[node name="Island" type="MeshInstance3D" parent="." unique_id=2128190205]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0)
material_override = ExtResource("4_island")
mesh = SubResource("IslandMesh")
[node name="Sea" parent="." unique_id=1379614066 instance=ExtResource("3_sea")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.5, 0)
[node name="Sun" type="DirectionalLight3D" parent="." unique_id=174609621]
transform = Transform3D(0.8660248, 0.3830344, -0.32138094, 0, 0.6427605, 0.76606715, 0.5000011, -0.66343313, 0.5566465, 0, 0, 0)
light_color = Color(1, 0.97, 0.9, 1)
shadow_enabled = true
directional_shadow_blend_splits = true
directional_shadow_max_distance = 40.0
[node name="Environment" type="WorldEnvironment" parent="." unique_id=1374218548]
environment = SubResource("Environment_gu74f")
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="." unique_id=1020023513]
spawn_path = NodePath("..")