make world abstract
All checks were successful
Linux arm64 / Build (pull_request) Successful in 1m36s

This commit is contained in:
2024-08-19 16:19:45 +02:00
parent 3cebb70289
commit a092f6fbc1
14 changed files with 180 additions and 65 deletions

View File

@@ -0,0 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://bqv0m8kbr300b"]
[ext_resource type="PackedScene" path="res://Scenes/Levels/world.tscn" id="1_ajsqk"]
[node name="World" type="ClientWorld"]
[node name="WorldContent" parent="." instance=ExtResource("1_ajsqk")]

View File

@@ -0,0 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://c2p67anlxe3mk"]
[ext_resource type="PackedScene" path="res://Scenes/Levels/world.tscn" id="1_tecss"]
[node name="World" type="ServerWorld"]
[node name="WorldContent" parent="." instance=ExtResource("1_tecss")]

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=17 format=3 uid="uid://coue2qehpn4fr"]
[gd_scene load_steps=17 format=3 uid="uid://cl8gww414apoq"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Sky.png" id="1_mnexj"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Black.png" id="2_fkwcn"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Orange.png" id="3_ux02w"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Green.png" id="4_wp15n"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Sky.png" id="1_tcyn8"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Black.png" id="2_j33w8"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Orange.png" id="3_n1lus"]
[ext_resource type="Texture2D" path="res://Assets/Textures/Green.png" id="4_klpsf"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_6c4vd"]
panorama = ExtResource("1_mnexj")
panorama = ExtResource("1_tcyn8")
[sub_resource type="Sky" id="Sky_5ngqa"]
sky_material = SubResource("PanoramaSkyMaterial_6c4vd")
@@ -18,7 +18,7 @@ tonemap_mode = 2
glow_enabled = true
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ajchh"]
albedo_texture = ExtResource("2_fkwcn")
albedo_texture = ExtResource("2_j33w8")
uv1_triplanar = true
[sub_resource type="PlaneMesh" id="PlaneMesh_mmup0"]
@@ -29,7 +29,7 @@ size = Vector2(50, 50)
data = PackedVector3Array(25, 0, 25, -25, 0, 25, 25, 0, -25, -25, 0, 25, -25, 0, -25, 25, 0, -25)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jkvud"]
albedo_texture = ExtResource("3_ux02w")
albedo_texture = ExtResource("3_n1lus")
uv1_triplanar = true
[sub_resource type="BoxMesh" id="BoxMesh_plpqy"]
@@ -44,13 +44,13 @@ left_to_right = -2.0
size = Vector3(5, 5, 5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pfpgv"]
albedo_texture = ExtResource("4_wp15n")
albedo_texture = ExtResource("4_klpsf")
uv1_triplanar = true
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_rit6o"]
data = PackedVector3Array(-12.5, 2.5, 2.5, 2.5, -2.5, 2.5, -2.5, -2.5, 2.5, -12.5, 2.5, -2.5, -2.5, -2.5, -2.5, 2.5, -2.5, -2.5, -12.5, 2.5, 2.5, -12.5, 2.5, -2.5, 2.5, -2.5, 2.5, -12.5, 2.5, -2.5, 2.5, -2.5, -2.5, 2.5, -2.5, 2.5, -12.5, 2.5, -2.5, -12.5, 2.5, 2.5, -2.5, -2.5, -2.5, -12.5, 2.5, 2.5, -2.5, -2.5, 2.5, -2.5, -2.5, -2.5, -2.5, -2.5, 2.5, 2.5, -2.5, 2.5, -2.5, -2.5, -2.5, 2.5, -2.5, 2.5, 2.5, -2.5, -2.5, -2.5, -2.5, -2.5)
[node name="World" type="World"]
[node name="World" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ctwiv")

View File

@@ -8,5 +8,3 @@
[node name="Network" parent="." instance=ExtResource("1_06ibn")]
[node name="MainMenu" parent="." instance=ExtResource("2_lavg1")]
[connection signal="change_scene" from="MainMenu" to="." method="change_scene"]