mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://bnhck5eh0tqxf"]
|
|
|
|
[ext_resource type="Script" uid="uid://cpx2fxtumgmud" path="res://Scenes/Barrel.cs" id="1_iba8l"]
|
|
[ext_resource type="Texture2D" uid="uid://juyup7so2u4g" path="res://Sprites/MediumTerminals.png" id="1_sgrg1"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
|
atlas = ExtResource("1_sgrg1")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
|
size = Vector2(28, 24)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vguns"]
|
|
size = Vector2(26, 22)
|
|
|
|
[node name="Mainframe" type="Area2D" groups=["Destroyable"]]
|
|
collision_layer = 64
|
|
collision_mask = 10
|
|
script = ExtResource("1_iba8l")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = SubResource("AtlasTexture_i3nxh")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
visible = false
|
|
shape = SubResource("RectangleShape2D_0nhpj")
|
|
|
|
[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(1, -4)
|
|
shape = SubResource("RectangleShape2D_vguns")
|