Improved graphics

This commit is contained in:
2024-02-04 00:03:25 +01:00
parent 3fb5ede6fa
commit 885276de46
9 changed files with 84 additions and 24 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=23 format=3 uid="uid://b40y7iuskv1ar"]
[gd_scene load_steps=25 format=3 uid="uid://b40y7iuskv1ar"]
[ext_resource type="Script" path="res://Main.gd" id="1_cw3ws"]
[ext_resource type="Script" path="res://network/Client.gd" id="2_8hxcx"]
@ -13,19 +13,21 @@
[ext_resource type="Script" path="res://network/Chat.gd" id="10_y3len"]
[ext_resource type="Script" path="res://world/Sun.gd" id="11_4jb08"]
[ext_resource type="Environment" uid="uid://dixa0yso2s1u3" path="res://world/Environment.tres" id="12_cscto"]
[ext_resource type="PackedScene" uid="uid://hnn0n1xc2qt7" path="res://assets/models/tree/Tree.blend" id="14_7jtdl"]
[ext_resource type="PackedScene" uid="uid://hnn0n1xc2qt7" path="res://assets/tree/Tree.blend" id="14_7jtdl"]
[ext_resource type="CameraAttributesPractical" uid="uid://b835orxyqq6w5" path="res://world/CameraPractical.tres" id="14_e2m00"]
[ext_resource type="PackedScene" uid="uid://cb2t7bvvf3gwh" path="res://enemy/slime/Slime.tscn" id="15_hgl78"]
[ext_resource type="Script" path="res://world/PlayerManager.gd" id="16_dp6bj"]
[ext_resource type="PackedScene" uid="uid://dagn5bf7ou3sd" path="res://ui/UI.tscn" id="17_43qhq"]
[ext_resource type="Material" uid="uid://bdsblfaxbipaa" path="res://grass/grass_material.tres" id="18_tja64"]
[ext_resource type="Script" path="res://camera/Camera.gd" id="18_wogcj"]
[ext_resource type="MultiMesh" uid="uid://dog5aq5n2q025" path="res://assets/grass/grass.multimesh" id="19_ae26a"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lp0k7"]
albedo_color = Color(0.184314, 0.113725, 0, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_he5c5"]
albedo_color = Color(0.0156863, 0.654902, 0.501961, 1)
[sub_resource type="BoxMesh" id="BoxMesh_j5fsa"]
material = SubResource("StandardMaterial3D_lp0k7")
size = Vector3(100, 1, 100)
[sub_resource type="PlaneMesh" id="PlaneMesh_lb6xk"]
material = SubResource("StandardMaterial3D_he5c5")
size = Vector2(25, 25)
[sub_resource type="BoxShape3D" id="BoxShape3D_yg2lt"]
size = Vector3(100, 1, 100)
@ -88,10 +90,10 @@ autostart = true
[node name="World" type="Node3D" parent="."]
[node name="CameraPivot" type="Node3D" parent="World"]
[node name="Pivot" type="Node3D" parent="World"]
[node name="Camera" type="Camera3D" parent="World/CameraPivot" node_paths=PackedStringArray("center")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 15, 15)
[node name="Camera" type="Camera3D" parent="World/Pivot" node_paths=PackedStringArray("center")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, 15)
current = true
fov = 30.0
size = 10.0
@ -102,6 +104,7 @@ follow_speed = 5.0
[node name="Sun" type="DirectionalLight3D" parent="World"]
transform = Transform3D(0.984808, 0.122788, -0.122788, 0, 0.707107, 0.707107, 0.173648, -0.696364, 0.696364, 0, 3, 0)
light_energy = 0.1
shadow_enabled = true
script = ExtResource("11_4jb08")
@ -129,14 +132,19 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.00829, 1.28057, -1.95247)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.53558, 1.28057, -0.306177)
[node name="Floor" type="MeshInstance3D" parent="World"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
mesh = SubResource("BoxMesh_j5fsa")
mesh = SubResource("PlaneMesh_lb6xk")
[node name="StaticBody3D" type="StaticBody3D" parent="World/Floor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="World/Floor/StaticBody3D"]
shape = SubResource("BoxShape3D_yg2lt")
[node name="Grass" type="MultiMeshInstance3D" parent="World"]
material_override = ExtResource("18_tja64")
cast_shadow = 0
multimesh = ExtResource("19_ae26a")
[node name="Players" type="Node3D" parent="."]
unique_name_in_owner = true
script = ExtResource("16_dp6bj")