generated from krampus/template-godot4
101 lines
2.8 KiB
Plaintext
101 lines
2.8 KiB
Plaintext
[gd_scene format=3 uid="uid://cmx882wng57du"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_26feb"]
|
|
[ext_resource type="Script" uid="uid://cp87ydrew7phy" path="res://prefabs/tiles/spawns/spawn.gd" id="2_c3hvl"]
|
|
[ext_resource type="Texture2D" uid="uid://dijho2wx1l4sm" path="res://assets/bomb/bomb.png" id="3_rjtpm"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_26feb"]
|
|
font_size = 24
|
|
outline_size = 4
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bs4fa"]
|
|
atlas = ExtResource("2_26feb")
|
|
region = Rect2(20, 66, 7, 11)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bs4fa"]
|
|
size = Vector2(110, 110)
|
|
|
|
[node name="Spawn" type="Node2D" unique_id=606603079 groups=["Pausable", "PostTurnActions"]]
|
|
script = ExtResource("2_c3hvl")
|
|
|
|
[node name="Icon" type="ColorRect" parent="." unique_id=189795230]
|
|
unique_name_in_owner = true
|
|
process_mode = 1
|
|
texture_filter = 1
|
|
custom_minimum_size = Vector2(100, 100)
|
|
offset_left = -50.0
|
|
offset_top = -50.0
|
|
offset_right = 50.0
|
|
offset_bottom = 50.0
|
|
color = Color(0, 0, 1, 1)
|
|
|
|
[node name="Label" type="Label" parent="Icon" unique_id=134308374]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -42.5
|
|
offset_top = -17.0
|
|
offset_right = 42.5
|
|
offset_bottom = 17.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
text = "SPAWN"
|
|
label_settings = SubResource("LabelSettings_26feb")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Amount" type="Label" parent="Icon" unique_id=1728513182]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -42.5
|
|
offset_top = -17.0
|
|
offset_right = 42.5
|
|
offset_bottom = 17.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 4
|
|
text = "SPAWN"
|
|
label_settings = SubResource("LabelSettings_26feb")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Icon" unique_id=801970580]
|
|
layout_mode = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
texture = SubResource("AtlasTexture_bs4fa")
|
|
expand_mode = 5
|
|
stretch_mode = 4
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=1478096785]
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=2097036302]
|
|
shape = SubResource("RectangleShape2D_bs4fa")
|
|
|
|
[node name="Size" type="Control" parent="." unique_id=1199044498]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(110, 110)
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = -55.0
|
|
offset_top = -55.0
|
|
offset_right = 55.0
|
|
offset_bottom = 55.0
|
|
|
|
[node name="BombSprite" type="Sprite2D" parent="." unique_id=231655141]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
scale = Vector2(0.415, 0.415)
|
|
texture = ExtResource("3_rjtpm")
|