mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 08:55:35 +00:00
41 lines
1.3 KiB
Text
41 lines
1.3 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://clyyl3jgpfoo7"]
|
|
|
|
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_gn5xq"]
|
|
[ext_resource type="Texture2D" uid="uid://d2f16ke8c7vwx" path="res://Sprites/Barrel.png" id="3_c3t2t"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2ewfl"]
|
|
size = Vector2(11, 14)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v7gy8"]
|
|
atlas = ExtResource("3_c3t2t")
|
|
region = Rect2(16, 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 = 10
|
|
script = ExtResource("1_gn5xq")
|
|
Health = 2.0
|
|
ExplosionRadius = 0.0
|
|
ExplosionDamage = 0.0
|
|
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")
|