diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 23:50:14 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 23:50:14 -0400 |
commit | 5923cd97dfafd7fee2784a91e81d7d55ed28448e (patch) | |
tree | 163d9c880cb3290bf6d9f685350c9d1472efb60f | |
parent | 80ae65c08a36cca4c42060e5d90b6f58696d75f3 (diff) | |
download | game_jam49-5923cd97dfafd7fee2784a91e81d7d55ed28448e.tar.gz game_jam49-5923cd97dfafd7fee2784a91e81d7d55ed28448e.zip |
Generate Stuff in a Chunk
-rw-r--r-- | Chunk.tscn | 5 | ||||
-rw-r--r-- | Main.tscn | 1 | ||||
-rw-r--r-- | World.tscn | 3 | ||||
-rw-r--r-- | project.godot | 1 |
4 files changed, 8 insertions, 2 deletions
@@ -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 ) @@ -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 @@ -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] |