summaryrefslogtreecommitdiff
path: root/jail.tscn
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-11-14 17:19:33 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-11-14 17:19:33 +0100
commite48d0f47fac4f6a07a1a851fea7b9ae08154ebb6 (patch)
treef0405cadef04a3dee0cdad795d4af75a45710f57 /jail.tscn
parent648f1928549e371fe55fd23f4dde3fdd85266375 (diff)
downloadnj26-e48d0f47fac4f6a07a1a851fea7b9ae08154ebb6.tar.gz
Implement powerups
Diffstat (limited to 'jail.tscn')
-rw-r--r--jail.tscn75
1 files changed, 16 insertions, 59 deletions
diff --git a/jail.tscn b/jail.tscn
index bb95cac..8b060d7 100644
--- a/jail.tscn
+++ b/jail.tscn
@@ -1,9 +1,16 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=5 format=2]
-[sub_resource type="CylinderMesh" id=1]
+[ext_resource path="res://Jaula_gato_naro.png" type="Texture" id=1]
-[sub_resource type="CylinderShape" id=2]
-height = 1.8
+[sub_resource type="PlaneMesh" id=1]
+size = Vector2( 2, 12 )
+
+[sub_resource type="SpatialMaterial" id=2]
+flags_transparent = true
+albedo_texture = ExtResource( 1 )
+
+[sub_resource type="BoxShape" id=3]
+extents = Vector3( 0.1, 10.75, 2 )
[node name="RigidBody" type="RigidBody"]
mode = 1
@@ -12,61 +19,11 @@ gravity_scale = 0.0
[node name="Spatial" type="Spatial" parent="."]
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 )
-[node name="base" type="MeshInstance" parent="Spatial"]
-transform = Transform( 0.5, 0, 0, 0, 0.0241527, 0, 0, 0, 0.5, 0, 0, 0 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../..")
-
-[node name="cyl" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, 0, 18.6455, 0.892701 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl2" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, 0, 18.646, -0.893 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl3" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, -0.893, 18.646, 0 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl4" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, 0.893, 18.646, 0 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl5" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, -0.606322, 18.646, 0.592541 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl6" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, 0.606, 18.646, 0.593 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl7" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, 0.606, 18.646, -0.593 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="cyl8" type="MeshInstance" parent="Spatial/base"]
-transform = Transform( 0.0750184, 0, 0, 0, 17.704, 0, 0, 0, 0.0750184, -0.606, 18.646, -0.593 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../../..")
-
-[node name="top" type="MeshInstance" parent="Spatial"]
-transform = Transform( 0.5, 0, 0, 0, 0.0241527, 0, 0, 0, 0.5, 0.03, 0.9, 0 )
-mesh = SubResource( 1 )
-skeleton = NodePath("../..")
-
-[node name="top2" type="MeshInstance" parent="Spatial"]
-transform = Transform( -0.02, 0, 0, 0, 4.56437, 0, 0, 0, -0.02, 0.03, 5.47471, 0 )
+[node name="MeshInstance" type="MeshInstance" parent="Spatial"]
+transform = Transform( 1.31134e-07, -1, 3.82137e-15, 4.37114e-08, 1.91069e-15, -1, 1, 1.31134e-07, 4.37114e-08, 0, 0, 0 )
mesh = SubResource( 1 )
-skeleton = NodePath("../..")
+material/0 = SubResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="."]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.915008, 0 )
-shape = SubResource( 2 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.665382, 0 )
+shape = SubResource( 3 )