[gd_scene format=3 uid="uid://dy1icabu2ssbw"] [ext_resource type="PackedScene" path="res://scenes/hud/hud.tscn" id="hud"] [ext_resource type="PackedScene" uid="uid://cdnkbt1f0db7e" path="res://scenes/player/player.tscn" id="player"] [ext_resource type="Script" uid="uid://cskx6o07iukwh" path="res://scripts/world/portal_spawner.gd" id="portal_spawner"] [sub_resource type="NavigationMesh" id="NavigationMesh_1"] vertices = PackedVector3Array(-49.5, 0.5, -49.5, -49.5, 0.5, 49.5, 49.5, 0.5, 49.5, 49.5, 0.5, -49.5) polygons = [PackedInt32Array(3, 2, 0), PackedInt32Array(0, 2, 1)] [sub_resource type="Gradient" id="Gradient_1"] colors = PackedColorArray(0.15, 0.35, 0.05, 1, 0.3, 0.55, 0.1, 1) [sub_resource type="FastNoiseLite" id="FastNoiseLite_1"] frequency = 0.05 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_1"] noise = SubResource("FastNoiseLite_1") color_ramp = SubResource("Gradient_1") seamless = true [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ground"] albedo_texture = SubResource("NoiseTexture2D_1") uv1_scale = Vector3(15, 15, 1) [sub_resource type="PlaneMesh" id="PlaneMesh_1"] material = SubResource("StandardMaterial3D_ground") size = Vector2(100, 100) [sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_1"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_tavern"] albedo_color = Color(0.45, 0.3, 0.15, 1) [sub_resource type="BoxMesh" id="BoxMesh_tavern"] material = SubResource("StandardMaterial3D_tavern") size = Vector3(5, 3, 5) [sub_resource type="BoxShape3D" id="BoxShape3D_tavern"] size = Vector3(5, 3, 5) [node name="World" type="Node3D" unique_id=1865233338] [node name="NavigationRegion3D" type="NavigationRegion3D" parent="." unique_id=1265843679] navigation_mesh = SubResource("NavigationMesh_1") [node name="Boden" type="MeshInstance3D" parent="NavigationRegion3D" unique_id=593226019] mesh = SubResource("PlaneMesh_1") [node name="BodenCollision" type="StaticBody3D" parent="." unique_id=1112667638] [node name="CollisionShape3D" type="CollisionShape3D" parent="BodenCollision" unique_id=621554623] shape = SubResource("WorldBoundaryShape3D_1") [node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=1797472817] transform = Transform3D(1, 0, 0, 0, 0.707, 0.707, 0, -0.707, 0.707, 0, 10, 0) shadow_enabled = true [node name="Taverne" type="StaticBody3D" parent="." unique_id=1978646562] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0) [node name="Mesh" type="MeshInstance3D" parent="Taverne" unique_id=2043279810] mesh = SubResource("BoxMesh_tavern") [node name="CollisionShape3D" type="CollisionShape3D" parent="Taverne" unique_id=2108564286] shape = SubResource("BoxShape3D_tavern") [node name="Player" parent="." unique_id=585018813 instance=ExtResource("player")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -5) [node name="HUD" parent="." unique_id=763693646 instance=ExtResource("hud")] [node name="PortalSpawner" type="Node" parent="." unique_id=2100621428] script = ExtResource("portal_spawner")