[gd_scene load_steps=4 format=3 uid="uid://bo8hgq66dbbb6"] [ext_resource type="Script" path="res://InsectButton.gd" id="1_scd5m"] [ext_resource type="Texture2D" uid="uid://wywgi6sr8mwg" path="res://InsectTiles/Assets/UI/hex_white.svg" id="2_tohil"] [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_g7iov"] load_path = "res://.godot/imported/bee.png-8686119aba467cb0eed5d193d6b99e96.s3tc.ctex" [node name="InsectButton" type="TextureButton"] texture_filter = 6 custom_minimum_size = Vector2(64, 64) ignore_texture_size = true stretch_mode = 0 script = ExtResource("1_scd5m") [node name="Hex" type="TextureRect" parent="."] texture_filter = 6 custom_minimum_size = Vector2(64, 64) layout_mode = 0 offset_right = 64.0 offset_bottom = 64.0 texture = ExtResource("2_tohil") expand_mode = 4 [node name="InsectIcon" type="TextureRect" parent="Hex"] texture_filter = 6 layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -32.0 offset_top = -32.0 offset_right = 32.0 offset_bottom = 32.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("CompressedTexture2D_g7iov") expand_mode = 3 [node name="TileCountLabel" type="Label" parent="Hex"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -20.0 offset_top = -22.0 offset_right = 20.0 offset_bottom = 12.0 grow_horizontal = 2 grow_vertical = 0 theme_override_colors/font_color = Color(1, 1, 1, 1) theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 8 theme_override_font_sizes/font_size = 24 text = "1" horizontal_alignment = 1 vertical_alignment = 2 [connection signal="button_down" from="." to="." method="_on_button_down"] [connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"] [connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"] [connection signal="pressed" from="." to="." method="_on_pressed"]