world border

This commit is contained in:
vengefulcartographer 2023-08-19 23:32:26 -06:00
parent eec35a04d7
commit 6e28f0721c
5 changed files with 52 additions and 25 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=26 format=3 uid="uid://3d51hjh2st8a"]
[gd_scene load_steps=28 format=3 uid="uid://3d51hjh2st8a"]
[ext_resource type="PackedScene" uid="uid://d2d4uv7o5gx5p" path="res://Level/World/screen_shader.tscn" id="1_huyen"]
[ext_resource type="PackedScene" uid="uid://b35w4hlh4n1jt" path="res://Level/World/world_environment.tscn" id="2_lerrn"]
@ -26,6 +26,11 @@
[ext_resource type="PackedScene" uid="uid://bw3k2c75qavce" path="res://Models/beach_decor/bucket.tscn" id="27_f3p1i"]
[ext_resource type="PackedScene" uid="uid://g4gmc0pwlak1" path="res://Models/buildings/fence.tscn" id="28_prydb"]
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_hf2jh"]
[sub_resource type="BoxShape3D" id="BoxShape3D_um2bu"]
size = Vector3(19.9041, 1, 1)
[node name="World" type="Node3D"]
[node name="ScreenShader" parent="." instance=ExtResource("1_huyen")]
@ -36,7 +41,7 @@
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="ocean" parent="." instance=ExtResource("4_dey2i")]
transform = Transform3D(5.04206, 0, 0, 0, 1.96278, 0, 0, 0, 4.42374, 0, 1.6366, 0)
transform = Transform3D(5.04206, 0, 0, 0, 1.96278, 0, 0, 0, 4.42374, 0, 1.67685, 0)
[node name="Decorations" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
@ -291,7 +296,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.124053, 2.37507, -4.54257)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0673849, 3.01779, -4.0846)
[node name="villager7" parent="." instance=ExtResource("24_ddfvk")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.124385, 2.04828, -5.05899)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.33509, 2.39757, -3.94492)
[node name="villager8" parent="." instance=ExtResource("24_ddfvk")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.31916, 2.22662, -3.08429)
@ -362,6 +367,40 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.41671, 2.76416, -1.32509)
[node name="OmniLight3D6" parent="." instance=ExtResource("25_novxt")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.19657, 2.76902, -1.46035)
[node name="WorldBottom" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldBottom"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.82605, 0)
shape = SubResource("WorldBoundaryShape3D_hf2jh")
[node name="WorldBarrier" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.798231, -0.956472)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldBarrier"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.12891, 5.37235)
shape = SubResource("BoxShape3D_um2bu")
[node name="WorldBarrier2" type="StaticBody3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -1.29945, -0.798231, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldBarrier2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.12274, 3.12891, 9.31375)
shape = SubResource("BoxShape3D_um2bu")
[node name="WorldBarrier4" type="StaticBody3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -17.0471, -0.798231, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldBarrier4"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.12274, 3.12891, 9.31375)
shape = SubResource("BoxShape3D_um2bu")
[node name="WorldBarrier3" type="StaticBody3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 4.00923, -0.798231, -0.328403)
[node name="CollisionShape3D" type="CollisionShape3D" parent="WorldBarrier3"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.12274, 3.12891, 9.31375)
shape = SubResource("BoxShape3D_um2bu")
[connection signal="finished" from="Music" to="Music" method="_on_finished"]
[connection signal="timeout" from="Music/Transition" to="Music" method="_on_transition_timer_timeout"]
[connection signal="timeout" from="Music/Tween" to="Music" method="_on_tween_timer_timeout"]

File diff suppressed because one or more lines are too long

View File

@ -1,13 +0,0 @@
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://yuhlhpwji3c4"]
[ext_resource type="Texture2D" uid="uid://d0pddcjy8uhp" path="res://Textures/leaves3.png" id="1_2cxg6"]
[ext_resource type="Texture2D" uid="uid://b2iu26wm0edrx" path="res://Textures/dirt1.png" id="1_yock7"]
[resource]
diffuse_mode = 3
specular_mode = 1
albedo_color = Color(1, 1, 0.682353, 1)
albedo_texture = ExtResource("1_yock7")
normal_texture = ExtResource("1_2cxg6")
uv1_scale = Vector3(150, 150, 150)
uv1_triplanar_sharpness = 0.00995752

View File

@ -1,12 +1,13 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://yuhlhpwji3c4"]
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://yuhlhpwji3c4"]
[ext_resource type="Texture2D" uid="uid://b2iu26wm0edrx" path="res://Textures/dirt1.png" id="1_cauqg"]
[ext_resource type="Texture2D" uid="uid://d0pddcjy8uhp" path="res://Textures/leaves3.png" id="1_cj3li"]
[resource]
diffuse_mode = 3
specular_mode = 1
albedo_color = Color(0.219608, 0.494118, 0.0705882, 1)
albedo_texture = ExtResource("1_cj3li")
albedo_color = Color(1, 0.996078, 0.592157, 1)
albedo_texture = ExtResource("1_cauqg")
normal_texture = ExtResource("1_cj3li")
uv1_scale = Vector3(150, 150, 150)
uv1_triplanar_sharpness = 0.00995752

View File

@ -5,7 +5,7 @@
[ext_resource type="Script" path="res://Holster.gd" id="3_a68da"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kb4ms"]
radius = 0.06
radius = 0.0669067
height = 0.43
[sub_resource type="SphereShape3D" id="SphereShape3D_6l1w6"]
@ -14,7 +14,7 @@ height = 0.43
script = ExtResource("1_7gpdp")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.21, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.237697, 0)
shape = SubResource("CapsuleShape3D_kb4ms")
[node name="grape_man" parent="." instance=ExtResource("2_ctyy5")]