mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 00:03:48 +00:00
Long Box
This commit is contained in:
parent
b7defbb209
commit
83e8b9081c
7 changed files with 96 additions and 4 deletions
41
Scenes/Props/Box_Vertical.tscn
Normal file
41
Scenes/Props/Box_Vertical.tscn
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://e80xujqyjoh"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_w8rm7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dpaobtgb3l4ft" path="res://Scenes/Props/Box_Red_Broken.tscn" id="2_s8k4s"]
|
||||
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_384ns"]
|
||||
[ext_resource type="Texture2D" uid="uid://b1xpvkxylpath" path="res://Sprites/Props/VerticalStorage.png" id="4_yhmvo"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
||||
size = Vector2(14, 28)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
||||
size = Vector2(12, 24)
|
||||
|
||||
[node name="Red Box" type="Area2D" groups=["Destroyable"]]
|
||||
position = Vector2(0, -9)
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_w8rm7")
|
||||
Health = 4.0
|
||||
ExplosionRadius = 0.0
|
||||
ExplosionDamage = 0.0
|
||||
DebrisScene = ExtResource("2_s8k4s")
|
||||
ExplosionParticles = ExtResource("3_384ns")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0, -1)
|
||||
shape = SubResource("RectangleShape2D_2ewfl")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("4_yhmvo")
|
||||
|
||||
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
||||
position = Vector2(0, -3)
|
||||
shape = SubResource("RectangleShape2D_ss2y0")
|
||||
Loading…
Add table
Add a link
Reference in a new issue