mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-04 22:25:53 +00:00
58 lines
2 KiB
Text
58 lines
2 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://bj28qiai2x2ar"]
|
|
|
|
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_avwdx"]
|
|
[ext_resource type="Texture2D" uid="uid://d2f16ke8c7vwx" path="res://Sprites/Barrel.png" id="1_e66t6"]
|
|
[ext_resource type="PackedScene" uid="uid://clyyl3jgpfoo7" path="res://Scenes/Props/Broken_Barrel.tscn" id="2_f145b"]
|
|
[ext_resource type="PackedScene" uid="uid://jmijre3eaf8m" path="res://Scenes/Explosion.tscn" id="3_sm378"]
|
|
[ext_resource type="PackedScene" uid="uid://h11o0et1y54v" path="res://Scenes/Weapons/Bullets/explosion.tscn" id="4_epbro"]
|
|
[ext_resource type="Script" path="res://Scripts/Resources/BulletResource.cs" id="5_xl8uf"]
|
|
|
|
[sub_resource type="Resource" id="Resource_kqink"]
|
|
script = ExtResource("5_xl8uf")
|
|
BulletScene = ExtResource("4_epbro")
|
|
BulletSpeed = 0.0
|
|
BulletDamage = 8.0
|
|
LifeTime = 1.0
|
|
Owner = 0
|
|
DamageType = 4
|
|
TimeModifiers = null
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
|
size = Vector2(11, 14)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v7gy8"]
|
|
atlas = ExtResource("1_e66t6")
|
|
region = Rect2(0, 0, 16, 16)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ss2y0"]
|
|
size = Vector2(11, 14)
|
|
|
|
[node name="Barrel" type="Area2D" groups=["Destroyable"]]
|
|
collision_layer = 64
|
|
collision_mask = 138
|
|
script = ExtResource("1_avwdx")
|
|
Health = 2.0
|
|
ExplosionRadius = 4.0
|
|
ExplosionDamage = 3.0
|
|
DebrisScene = ExtResource("2_f145b")
|
|
ExplosionParticles = ExtResource("3_sm378")
|
|
ExplosionData = SubResource("Resource_kqink")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
position = Vector2(0.5, -1)
|
|
shape = SubResource("RectangleShape2D_2ewfl")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = SubResource("AtlasTexture_v7gy8")
|
|
|
|
[node name="RigidBody2D" type="RigidBody2D" parent="."]
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
gravity_scale = 0.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RigidBody2D"]
|
|
visible = false
|
|
position = Vector2(0.5, -1)
|
|
shape = SubResource("RectangleShape2D_ss2y0")
|