From 50734cc9be03e2b794fcdd4833f23510fc58cfa9 Mon Sep 17 00:00:00 2001 From: Spencer Killen Date: Sun, 11 Dec 2022 19:27:42 -0700 Subject: [PATCH] Draft a level design --- blends/levels/side_tunnel_1.blend | 3 +++ godot/effects/SinkBlock.tscn | 3 --- godot/tests/sink_block/test_sink_block.tscn | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 blends/levels/side_tunnel_1.blend diff --git a/blends/levels/side_tunnel_1.blend b/blends/levels/side_tunnel_1.blend new file mode 100644 index 0000000..d660d85 --- /dev/null +++ b/blends/levels/side_tunnel_1.blend @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67fc6965db400b0d2b3750397863eb475e4b0765f95823fe62b0c10d73880d09 +size 1639432 diff --git a/godot/effects/SinkBlock.tscn b/godot/effects/SinkBlock.tscn index f71d993..45532e2 100644 --- a/godot/effects/SinkBlock.tscn +++ b/godot/effects/SinkBlock.tscn @@ -8,16 +8,13 @@ [sub_resource type="BoxShape" id=4] [node name="SinkBlock" type="MeshInstance"] -transform = Transform( 1, 0, 0, 0, 0.264811, 0, 0, 0, 1, 2.72806, 0.561258, 0 ) mesh = SubResource( 3 ) material/0 = ExtResource( 1 ) script = ExtResource( 2 ) [node name="SinkRegion" type="Area" parent="."] -transform = Transform( 1, 0, 0, 0, 3.77628, 0, 0, 0, 1, -2.72806, -2.11947, 0 ) [node name="CollisionShape" type="CollisionShape" parent="SinkRegion"] -transform = Transform( 1, 0, 0, 0, 0.264811, 0, 0, 0, 0.988649, 2.72806, 0.561258, 0 ) shape = SubResource( 4 ) [connection signal="body_entered" from="SinkRegion" to="." method="_on_SinkRegion_body_entered"] diff --git a/godot/tests/sink_block/test_sink_block.tscn b/godot/tests/sink_block/test_sink_block.tscn index 14255be..563f279 100644 --- a/godot/tests/sink_block/test_sink_block.tscn +++ b/godot/tests/sink_block/test_sink_block.tscn @@ -22,3 +22,4 @@ shape = SubResource( 2 ) [node name="Player" parent="." instance=ExtResource( 1 )] [node name="SinkBlock" parent="." instance=ExtResource( 2 )] +transform = Transform( 4.12455, 0, 0, 0, 0.264811, 0, 0, 0, 1, 8.77048, -0.686236, 0 )