summaryrefslogtreecommitdiff
path: root/Spatial.tscn
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-11-14 16:46:51 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-11-14 16:46:51 +0100
commit87e18329a2bd583bc6a53fb106274a71adde8792 (patch)
treea5d4ab7ef3066ef3f28bdfcb92c6d0906abed05f /Spatial.tscn
parent96e2028c52c9d78e77a6b875a87e83970f3c97c6 (diff)
downloadnj26-87e18329a2bd583bc6a53fb106274a71adde8792.tar.gz
Implement powerups
Diffstat (limited to 'Spatial.tscn')
-rw-r--r--Spatial.tscn9
1 files changed, 8 insertions, 1 deletions
diff --git a/Spatial.tscn b/Spatial.tscn
index 2e6b87d..9a7d672 100644
--- a/Spatial.tscn
+++ b/Spatial.tscn
@@ -1,5 +1,6 @@
-[gd_scene load_steps=14 format=2]
+[gd_scene load_steps=16 format=2]
+[ext_resource path="res://floor.png" type="Texture" id=1]
[ext_resource path="res://jail.tscn" type="PackedScene" id=3]
[ext_resource path="res://Spatial.gd" type="Script" id=4]
[ext_resource path="res://basefloor.gd" type="Script" id=5]
@@ -13,6 +14,9 @@ albedo_color = Color( 0.435294, 0.0784314, 0.0784314, 1 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 10, 1, 20 )
+[sub_resource type="SpatialMaterial" id=12]
+albedo_texture = ExtResource( 1 )
+
[sub_resource type="ProceduralSky" id=6]
sky_horizon_color = Color( 0.329412, 0.0784314, 0.368627, 1 )
@@ -58,6 +62,7 @@ shape = SubResource( 2 )
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.5, 0.11645, -0.833609, 0 )
mesh = SubResource( 1 )
skeleton = NodePath("../..")
+material/0 = SubResource( 12 )
[node name="StaticBody" type="StaticBody" parent="floor2/MeshInstance"]
@@ -176,3 +181,5 @@ custom_colors/font_color = Color( 0, 0.788235, 1, 1 )
text = "Team Blue: 0"
align = 1
valign = 1
+
+[node name="powerup_timer" type="Timer" parent="."]