summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Chunk.tscn5
-rw-r--r--Main.tscn1
-rw-r--r--World.tscn3
-rw-r--r--project.godot1
4 files changed, 8 insertions, 2 deletions
diff --git a/Chunk.tscn b/Chunk.tscn
index 823aa51..0d0771e 100644
--- a/Chunk.tscn
+++ b/Chunk.tscn
@@ -1,4 +1,6 @@
-[gd_scene load_steps=5 format=2]
+[gd_scene load_steps=6 format=2]
+
+[ext_resource path="res://Chunk.gd" type="Script" id=1]
[sub_resource type="SphereShape" id=1]
radius = 50.0
@@ -17,6 +19,7 @@ size = Vector2( 98, 98 )
[node name="Chunk" type="Area"]
collision_layer = 32
collision_mask = 0
+script = ExtResource( 1 )
[node name="Size" type="CollisionShape" parent="."]
shape = SubResource( 1 )
diff --git a/Main.tscn b/Main.tscn
index 97b6e10..ea78903 100644
--- a/Main.tscn
+++ b/Main.tscn
@@ -50,6 +50,7 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
[node name="World" parent="." instance=ExtResource( 6 )]
traveler = NodePath("../ShipRigidBody")
+acceleration = 10.0
[node name="ShipRigidBody" type="RigidBody" parent="."]
collision_layer = 2
diff --git a/World.tscn b/World.tscn
index 2f4ccec..db93160 100644
--- a/World.tscn
+++ b/World.tscn
@@ -6,10 +6,11 @@
[sub_resource type="BoxShape" id=23]
[sub_resource type="SphereShape" id=24]
-radius = 1000.0
+radius = 300.0
[node name="World" type="Spatial"]
script = ExtResource( 1 )
+acceleration = 50.0
[node name="Chunks" type="RigidBody" parent="."]
collision_layer = 0
diff --git a/project.godot b/project.godot
index 2728622..34e666b 100644
--- a/project.godot
+++ b/project.godot
@@ -27,6 +27,7 @@ config/icon="res://icon.png"
[autoload]
Settings="*res://singletons/settings.gd"
+WorldGenRNG="*res://WorldGenRNG.gd"
[display]