mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 21:03:48 +00:00
Refactored locations
This commit is contained in:
parent
e334ac6343
commit
b7defbb209
16 changed files with 65 additions and 28 deletions
36
Scenes/Props/MediumTerminal.tscn
Normal file
36
Scenes/Props/MediumTerminal.tscn
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue