From a87ed744f2c040dcef6c596bf2d12fc5341179bc Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sat, 15 Jul 2023 00:54:10 +0200 Subject: [PATCH] Should have been added ages ago. --- scenes/StreamContainer.tscn | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 scenes/StreamContainer.tscn diff --git a/scenes/StreamContainer.tscn b/scenes/StreamContainer.tscn new file mode 100644 index 0000000..7fee255 --- /dev/null +++ b/scenes/StreamContainer.tscn @@ -0,0 +1,34 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://scenes/StreamContainer.cs" type="Script" id=1] + +[sub_resource type="CubeMesh" id=1] +size = Vector3( 1, 1, 1 ) + +[sub_resource type="SpatialMaterial" id=2] +params_blend_mode = 3 +albedo_color = Color( 1, 1, 1, 0.156863 ) + +[sub_resource type="BoxShape" id=9] +extents = Vector3( 20, 1, 20 ) + +[node name="StreamContainer" type="Spatial"] +transform = Transform( 1, 0, 0, 0, 1, 2.98023e-08, 0, -2.98023e-08, 1, 0, 0, -4.76837e-07 ) +script = ExtResource( 1 ) +Dimensions = Vector2( 35, 30 ) +World = NodePath("../TileWorld") + +[node name="ActiveTiles" type="Spatial" parent="."] + +[node name="Bounds" type="MeshInstance" parent="."] +transform = Transform( 4, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0 ) +visible = false +mesh = SubResource( 1 ) +skeleton = NodePath("../..") +material/0 = SubResource( 2 ) + +[node name="Area" type="Area" parent="."] + +[node name="CollisionShape" type="CollisionShape" parent="Area"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) +shape = SubResource( 9 )