summaryrefslogtreecommitdiffstats
path: root/Main.tscn
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-09-15 20:51:50 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-09-15 20:51:50 -0400
commit3e09d6846e3200881c0dbc60f9dd805ec2050c30 (patch)
tree071e83175d710afe3cdd407aaf8bb95a741a4383 /Main.tscn
parent1077fb33cebad8e2c41b2efc1e9e112dde76cdc5 (diff)
downloadgodot_wildjam_49-3e09d6846e3200881c0dbc60f9dd805ec2050c30.tar.gz
godot_wildjam_49-3e09d6846e3200881c0dbc60f9dd805ec2050c30.zip
Lower World Generation radius for performance
Diffstat (limited to 'Main.tscn')
-rw-r--r--Main.tscn10
1 files changed, 8 insertions, 2 deletions
diff --git a/Main.tscn b/Main.tscn
index 9ba9b60..495c034 100644
--- a/Main.tscn
+++ b/Main.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=17 format=2]
+[gd_scene load_steps=18 format=2]
[ext_resource path="res://character/fps_controller/fps_controller.tscn" type="PackedScene" id=1]
[ext_resource path="res://ship/ship/ship.tscn" type="PackedScene" id=2]
@@ -7,6 +7,7 @@
[ext_resource path="res://ship/ship/crate.tscn" type="PackedScene" id=5]
[ext_resource path="res://World.gd" type="Script" id=6]
[ext_resource path="res://Ship.gd" type="Script" id=7]
+[ext_resource path="res://FPS.gd" type="Script" id=8]
[sub_resource type="BoxShape" id=19]
extents = Vector3( 1000, 0.1, 1000 )
@@ -33,7 +34,7 @@ transform_array = PoolVector3Array( 0.35759, 0, -0.933879, 0, 1, 0, 0.933879, 0,
[sub_resource type="BoxShape" id=23]
[sub_resource type="BoxShape" id=24]
-extents = Vector3( 500, 1000, 500 )
+extents = Vector3( 300, 1000, 300 )
[sub_resource type="CapsuleShape" id=22]
radius = 11.4853
@@ -1891,4 +1892,9 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.9944, 5.67224, 2.09212 )
[node name="crate400" parent="crates" instance=ExtResource( 5 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.04795, 5.67224, 2.09212 )
+[node name="FPS" type="Label" parent="."]
+margin_right = 163.0
+margin_bottom = 68.0
+script = ExtResource( 8 )
+
[connection signal="body_exited" from="WorldGenCull" to="World" method="_on_WorldGenCull_body_exited"]