✨ Turret tile basis
This commit is contained in:
32
Scenes/Tiles/TurretTile.tscn
Normal file
32
Scenes/Tiles/TurretTile.tscn
Normal file
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dbup2pvjl8het"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://n5g6i0uovxfk" path="res://Scripts/Tiles/TurretTile.cs" id="1_j3157"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckssi7soymu7g" path="res://Scenes/Tiles/TurretTile.png" id="2_7ljeh"]
|
||||
[ext_resource type="Texture2D" uid="uid://dmbbkwgff7dej" path="res://Scenes/Tiles/TurretTileBarrel.png" id="3_gfad6"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pndcb"]
|
||||
size = Vector2(54, 54)
|
||||
|
||||
[node name="Turret" type="StaticBody2D"]
|
||||
script = ExtResource("1_j3157")
|
||||
TileId = "turret"
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.1, 0.1)
|
||||
texture = ExtResource("2_7ljeh")
|
||||
|
||||
[node name="Barrel" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -3)
|
||||
scale = Vector2(0.08, 0.08)
|
||||
texture = ExtResource("3_gfad6")
|
||||
offset = Vector2(0, -54)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_pndcb")
|
||||
|
||||
[node name="ProgressOverlay" type="ColorRect" parent="."]
|
||||
visible = false
|
||||
offset_left = -27.0
|
||||
offset_top = -27.0
|
||||
offset_right = 27.0
|
||||
offset_bottom = 27.0
|
Reference in New Issue
Block a user