duncgibbs 14e2073322
All checks were successful
linting & formatting / build (push) Successful in 25s
itch.io publish action / build (web, html) (push) Successful in 3m51s
mostly implements networked board state; but also adds voting and a few buildings
2026-04-24 12:19:34 -05:00

75 lines
2.5 KiB
Plaintext

[gd_scene format=3 uid="uid://cdb6bf7dat3bw"]
[ext_resource type="Texture2D" uid="uid://8b86ftb4iwfj" path="res://assets/Pattern-Panic-10x10/no-background/Points-and-Pulses.png" id="1_qqie6"]
[ext_resource type="Script" uid="uid://df5v873offcdf" path="res://prefabs/tiles/turns/turn.gd" id="2_qqie6"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ix7w3"]
resource_local_to_scene = true
bg_color = Color(0, 0, 0, 0)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.8001019, 0.8001019, 0.8001019, 0)
[sub_resource type="AtlasTexture" id="AtlasTexture_x2hlk"]
atlas = ExtResource("1_qqie6")
region = Rect2(30, 70, 10, 10)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qqie6"]
resource_local_to_scene = true
bg_color = Color(1, 1, 1, 0)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(1, 1, 1, 1)
expand_margin_left = 8.0
expand_margin_top = 8.0
expand_margin_right = 8.0
expand_margin_bottom = 8.0
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qqie6"]
size = Vector2(110, 110)
[node name="Turn" type="Node2D" unique_id=397844073]
script = ExtResource("2_qqie6")
[node name="PlayerBorder" type="PanelContainer" parent="." unique_id=1009643853]
unique_name_in_owner = true
custom_minimum_size = Vector2(110, 110)
offset_left = -55.0
offset_top = -55.0
offset_right = 45.0
offset_bottom = 45.0
theme_override_styles/panel = SubResource("StyleBoxFlat_ix7w3")
[node name="Icon" type="TextureRect" parent="PlayerBorder" unique_id=1363157270]
texture_filter = 1
custom_minimum_size = Vector2(100, 100)
layout_mode = 2
texture = SubResource("AtlasTexture_x2hlk")
[node name="Highlight" type="Panel" parent="PlayerBorder/Icon" unique_id=715172504]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_qqie6")
[node name="Area2D2" type="Area2D" parent="." unique_id=1370367200]
process_mode = 3
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D2" unique_id=1032001784]
shape = SubResource("RectangleShape2D_qqie6")
[connection signal="gui_input" from="PlayerBorder/Icon" to="." method="handle_gui_input"]
[connection signal="mouse_entered" from="PlayerBorder/Icon" to="." method="handle_turn_mouse_entered"]
[connection signal="mouse_exited" from="PlayerBorder/Icon" to="." method="handle_turn_mouse_exited"]