mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 17:53:48 +00:00
Refactored locations
This commit is contained in:
parent
e334ac6343
commit
b7defbb209
16 changed files with 65 additions and 28 deletions
25
Scenes/Props/MediumTank.tscn
Normal file
25
Scenes/Props/MediumTank.tscn
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://crmwuwhltmdq7"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/Barrel.cs" id="1_c66eg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b80wf43ow5d8b" path="res://Sprites/MediumTank.png" id="1_y64dw"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i3nxh"]
|
||||
atlas = ExtResource("1_y64dw")
|
||||
region = Rect2(0, 0, 64, 64)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nhpj"]
|
||||
size = Vector2(30, 28)
|
||||
|
||||
[node name="LargeTank" type="Area2D" groups=["Destroyable"]]
|
||||
collision_layer = 64
|
||||
collision_mask = 10
|
||||
script = ExtResource("1_c66eg")
|
||||
Health = 2.0
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_i3nxh")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(-16, -17)
|
||||
shape = SubResource("RectangleShape2D_0nhpj")
|
||||
Loading…
Add table
Add a link
Reference in a new issue