mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:25:35 +00:00
63 lines
2 KiB
Text
63 lines
2 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://e80xujqyjoh"]
|
|
|
|
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_w8rm7"]
|
|
[ext_resource type="PackedScene" uid="uid://bkr1rv30ww4xt" path="res://Scenes/Props/Box_Vertical_Broken.tscn" id="2_xajnp"]
|
|
[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="AtlasTexture" id="AtlasTexture_xajnp"]
|
|
atlas = ExtResource("4_yhmvo")
|
|
region = Rect2(0, 0, 16, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xu8ef"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xajnp")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
|
size = Vector2(14, 28)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
|
size = Vector2(12, 15)
|
|
|
|
[node name="Vertical Box" type="Area2D" groups=["Destroyable"]]
|
|
y_sort_enabled = true
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
script = ExtResource("1_w8rm7")
|
|
Health = 4.0
|
|
ExplosionRadius = 0.0
|
|
ExplosionDamage = 0.0
|
|
DebrisScene = ExtResource("2_xajnp")
|
|
ExplosionParticles = ExtResource("3_384ns")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(0, -9)
|
|
sprite_frames = SubResource("SpriteFrames_xu8ef")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
position = Vector2(0, -1)
|
|
shape = SubResource("RectangleShape2D_2ewfl")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
|
position = Vector2(0, -9)
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
gravity_scale = 0.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
|
position = Vector2(0, 1.5)
|
|
shape = SubResource("RectangleShape2D_ss2y0")
|
|
|
|
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
|
|
visible = false
|
|
radius = 8.36
|
|
vertices = PackedVector2Array(-6, -15, 6, -15, 6, 0, -6, 0)
|