TestGame/assets/levels/level1.tscn
2024-12-28 01:58:19 +01:00

112 lines
4.8 KiB
Plaintext

[gd_scene load_steps=21 format=3 uid="uid://b2b0sgltiefki"]
[ext_resource type="Script" path="res://assets/levels/level_1.gd" id="1_4n7jv"]
[ext_resource type="Texture2D" uid="uid://h04a4ju855bp" path="res://assets/objects/kenney_prototype-textures/PNG/Dark/texture_02.png" id="1_xris1"]
[ext_resource type="PackedScene" uid="uid://hylwpibwtg0c" path="res://assets/objects/box/box.tscn" id="2_8p87y"]
[ext_resource type="PackedScene" uid="uid://s1ftlvvluili" path="res://assets/objects/box_small/box_small.tscn" id="2_ml88v"]
[ext_resource type="PackedScene" uid="uid://bs6cfck1f4yp5" path="res://assets/objects/transition.tscn" id="5_if8du"]
[ext_resource type="Script" path="res://src/viewport.gd" id="6_uuo0x"]
[ext_resource type="Texture2D" uid="uid://x60cxv42nmsa" path="res://assets/bubbles.png" id="7_el3mb"]
[ext_resource type="Shader" path="res://assets/levels/test.gdshader" id="8_68tud"]
[ext_resource type="PackedScene" uid="uid://cbfoxxoamehgg" path="res://assets/characters/npc.tscn" id="9_kit50"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ulx7c"]
sky_top_color = Color(0.129, 0.129, 0.129, 1)
sky_horizon_color = Color(0.129, 0.129, 0.129, 1)
ground_bottom_color = Color(0.129, 0.129, 0.129, 1)
ground_horizon_color = Color(0.129, 0.129, 0.129, 1)
[sub_resource type="Sky" id="Sky_rnwem"]
sky_material = SubResource("ProceduralSkyMaterial_ulx7c")
[sub_resource type="Environment" id="Environment_06i34"]
background_mode = 2
sky = SubResource("Sky_rnwem")
tonemap_mode = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_er7pi"]
albedo_texture = ExtResource("1_xris1")
uv1_triplanar = true
[sub_resource type="PlaneMesh" id="PlaneMesh_u412x"]
lightmap_size_hint = Vector2i(52, 52)
material = SubResource("StandardMaterial3D_er7pi")
size = Vector2(10, 5)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_flcen"]
data = PackedVector3Array(5, 0, 5, -5, 0, 5, 5, 0, -5, -5, 0, 5, -5, 0, -5, 5, 0, -5)
[sub_resource type="ViewportTexture" id="ViewportTexture_80n1l"]
viewport_path = NodePath("MeshInstance3D/SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mdr1l"]
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
albedo_texture = SubResource("ViewportTexture_80n1l")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lrfyr"]
[sub_resource type="PlaneMesh" id="PlaneMesh_dquro"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d4amb"]
shader = ExtResource("8_68tud")
shader_parameter/bottom_color = Color(0.34902, 1, 1, 1)
shader_parameter/top_color = Color(0.312314, 0.589497, 0.370244, 1)
shader_parameter/layer_count = 7
shader_parameter/time_scale = 0.2
shader_parameter/base_intensity = 0.5
shader_parameter/size = 0.92001
shader_parameter/tex = ExtResource("7_el3mb")
[node name="Level" type="Node3D"]
script = ExtResource("1_4n7jv")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_06i34")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.990369, 0.119902, -0.0692252, 0, 0.499998, 0.866027, 0.138451, -0.857686, 0.495183, 0, 3.47491, 2.77581)
light_energy = 0.454
shadow_enabled = true
directional_shadow_max_distance = 54.0
[node name="Floor" type="MeshInstance3D" parent="."]
mesh = SubResource("PlaneMesh_u412x")
skeleton = NodePath("../DirectionalLight3D")
[node name="StaticBody3D" type="StaticBody3D" parent="Floor"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor/StaticBody3D"]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
shape = SubResource("ConcavePolygonShape3D_flcen")
[node name="Box" parent="." instance=ExtResource("2_8p87y")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.31663, 0.5, 0)
[node name="Box2" parent="." instance=ExtResource("2_ml88v")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.61149, 0.132777, -0.890927)
[node name="Transition" parent="." instance=ExtResource("5_if8du")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 0.0325054, 1)
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.260875, -0.965373, 0, 0.965373, 0.260875, -0.797396, 0.00474185, -1.24873)
material_override = SubResource("StandardMaterial3D_mdr1l")
material_overlay = SubResource("ShaderMaterial_lrfyr")
mesh = SubResource("PlaneMesh_dquro")
skeleton = NodePath("../CanvasLayer")
script = ExtResource("6_uuo0x")
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
[node name="ColorRect" type="ColorRect" parent="MeshInstance3D/SubViewport"]
material = SubResource("ShaderMaterial_d4amb")
offset_right = 512.0
offset_bottom = 512.0
[node name="NPC" parent="." instance=ExtResource("9_kit50")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.565993, 0.48192, -0.421152)