cirnogodot/Scenes/Props/MediumTerminal.tscn
2025-01-21 15:17:26 +01:00

36 lines
1.2 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://bnhck5eh0tqxf"]
[ext_resource type="Script" 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="LargeTank" 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"]
position = Vector2(1, -4)
shape = SubResource("RectangleShape2D_vguns")