mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:35:34 +00:00
61 lines
1.9 KiB
Text
61 lines
1.9 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://bkr1rv30ww4xt"]
|
|
|
|
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_xr0or"]
|
|
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_v3lmq"]
|
|
[ext_resource type="Texture2D" uid="uid://b1xpvkxylpath" path="res://Sprites/Props/VerticalStorage.png" id="4_q2283"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nrv7m"]
|
|
atlas = ExtResource("4_q2283")
|
|
region = Rect2(16, 0, 16, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xr0or"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nrv7m")
|
|
}],
|
|
"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, 16)
|
|
|
|
[node name="Broken Vertical Box" type="Area2D" groups=["Destroyable"]]
|
|
y_sort_enabled = true
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
script = ExtResource("1_xr0or")
|
|
Health = 4.0
|
|
ExplosionRadius = 0.0
|
|
ExplosionDamage = 0.0
|
|
ExplosionParticles = ExtResource("3_v3lmq")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(0, -9)
|
|
sprite_frames = SubResource("SpriteFrames_xr0or")
|
|
|
|
[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)
|
|
shape = SubResource("RectangleShape2D_ss2y0")
|
|
|
|
[node name="NavigationObstacle2D" type="NavigationObstacle2D" parent="."]
|
|
visible = false
|
|
radius = 8.36
|
|
vertices = PackedVector2Array(-6, -16, 6, -16, 6, 0, -6, 0)
|