added basic hire functionality
This commit is contained in:
@ -225,8 +225,9 @@ texture = ExtResource("4_tye4g")
|
||||
|
||||
[node name="watch" type="TextureRect" parent="."]
|
||||
visible = false
|
||||
offset_top = -136.0
|
||||
offset_right = 350.0
|
||||
offset_bottom = 250.0
|
||||
offset_bottom = 114.0
|
||||
texture = ExtResource("9_uqpfx")
|
||||
|
||||
[node name="time1" type="TextureRect" parent="watch"]
|
||||
|
@ -236,8 +236,9 @@ layout_mode = 2
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
text = "0 / 100 Reputation"
|
||||
text = "0 / 60 Reputation"
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/UI/Confirm" to="." method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/HBoxContainer/LobbyReadyButton" to="." method="_on_lobby_ready_button_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/UI/Hire" to="." method="_on_hire_pressed"]
|
||||
[connection signal="text_submitted" from="CanvasLayer/UI/VBoxContainer/LineEdit" to="." method="_on_line_edit_text_submitted"]
|
||||
|
@ -5,13 +5,14 @@
|
||||
[ext_resource type="PackedScene" uid="uid://y2i3u6n1oowh" path="res://Scenes/deck.tscn" id="3_ypq4b"]
|
||||
[ext_resource type="PackedScene" uid="uid://baoec8cqmedf6" path="res://Scenes/worker_slot.tscn" id="4_o73ea"]
|
||||
|
||||
[node name="PlayerBoard" type="Node2D" node_paths=PackedStringArray("poor_deck", "good_deck", "great_deck", "shift_deck", "slots")]
|
||||
[node name="PlayerBoard" type="Node2D" node_paths=PackedStringArray("poor_deck", "good_deck", "great_deck", "shift_deck", "slots", "client_view_position")]
|
||||
script = ExtResource("1_dj0oi")
|
||||
poor_deck = NodePath("PoorDeck")
|
||||
good_deck = NodePath("GoodDeck")
|
||||
great_deck = NodePath("GreatDeck")
|
||||
shift_deck = NodePath("ShiftDeck")
|
||||
slots = [NodePath("Slot1"), NodePath("Slot2"), NodePath("Slot3"), NodePath("Slot4")]
|
||||
client_view_position = NodePath("ClientViewPosition")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_rx76r")
|
||||
@ -43,3 +44,6 @@ position = Vector2(255, 235)
|
||||
|
||||
[node name="Slot4" parent="." instance=ExtResource("4_o73ea")]
|
||||
position = Vector2(785, 235)
|
||||
|
||||
[node name="ClientViewPosition" type="Node2D" parent="."]
|
||||
position = Vector2(296, -194)
|
||||
|
Reference in New Issue
Block a user