Files
agame/world/main.tscn
T
2026-10-03 18:04:07 +08:00

101 lines
4.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"]
[ext_resource type="PackedScene" uid="uid://12qonfnowpas" path="res://world/zipline/zipline.tscn" id="6_i1eo7"]
[ext_resource type="PackedScene" path="res://world/items/carryable_box.tscn" id="7_carrybox"]
[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
[sub_resource type="BoxShape3D" id="BoxShape3D_gu74f"]
size = Vector3(4, 0.6, 14)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_04q08"]
albedo_color = Color(0.45, 0.31, 0.19, 1)
[sub_resource type="BoxMesh" id="BoxMesh_vrojb"]
size = Vector3(4, 0.6, 14)
[sub_resource type="BoxShape3D" id="BoxShape3D_qnd6n"]
size = Vector3(4, 0.4, 5.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_op3e8"]
albedo_color = Color(0.45, 0.31, 0.19, 1)
[sub_resource type="BoxMesh" id="BoxMesh_vid1e"]
size = Vector3(4, 0.4, 5.5)
[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("..")
[node name="LaunchRamp" type="StaticBody3D" parent="." unique_id=999942303]
transform = Transform3D(1, 0, 0, 0, 0.89438856, -0.44729084, 0, 0.44729084, 0.89438856, 0, 2.8, -14)
[node name="Shape" type="CollisionShape3D" parent="LaunchRamp" unique_id=1960823727]
shape = SubResource("BoxShape3D_gu74f")
[node name="Mesh" type="MeshInstance3D" parent="LaunchRamp" unique_id=1190947350]
material_override = SubResource("StandardMaterial3D_04q08")
mesh = SubResource("BoxMesh_vrojb")
[node name="LaunchDeck" type="StaticBody3D" parent="." unique_id=1144716368]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.8, -22.8)
[node name="Shape" type="CollisionShape3D" parent="LaunchDeck" unique_id=1332771168]
shape = SubResource("BoxShape3D_qnd6n")
[node name="Mesh" type="MeshInstance3D" parent="LaunchDeck" unique_id=206374851]
material_override = SubResource("StandardMaterial3D_op3e8")
mesh = SubResource("BoxMesh_vid1e")
[node name="Zipline" parent="." unique_id=982324784 instance=ExtResource("6_i1eo7")]
[node name="CarryableBox1" parent="." instance=ExtResource("7_carrybox")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.2, 0.55, -1.6)
[node name="CarryableBox2" parent="." instance=ExtResource("7_carrybox")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0, 0.55, -2.4)