summaryrefslogtreecommitdiff
path: root/UI/TowerConfiguration.tscn
blob: ba8c2a9560c66977feee8321e330c3bf5a104a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=5 format=3 uid="uid://c05aq7xd4kx1p"]

[ext_resource type="Texture2D" uid="uid://dujcs2ls3u6tj" path="res://Towers/Assets/spritesheet.png" id="2_m6q2y"]
[ext_resource type="Script" path="res://UI/tower_configuration.gd" id="2_vvfd0"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_k0400"]

[sub_resource type="AtlasTexture" id="AtlasTexture_7gm7m"]
atlas = ExtResource("2_m6q2y")
region = Rect2(5, 1, 62, 95)

[node name="PanelContainer" type="PanelContainer"]
custom_minimum_size = Vector2(74, 88)
offset_right = 74.0
offset_bottom = 104.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_k0400")
script = ExtResource("2_vvfd0")

[node name="TextureRect" type="TextureRect" parent="."]
texture_filter = 1
layout_mode = 2
mouse_default_cursor_shape = 2
texture = SubResource("AtlasTexture_7gm7m")
stretch_mode = 5

[connection signal="gui_input" from="TextureRect" to="." method="_on_texture_rect_gui_input"]
[connection signal="mouse_entered" from="TextureRect" to="TextureRect" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="TextureRect" to="TextureRect" method="_on_mouse_exited"]