Proper swap, generic mouse confinment and win
This commit is contained in:
parent
cba43ee477
commit
5df5633c27
16 changed files with 136 additions and 96 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=25 format=3 uid="uid://cqrh2cc7m2i7f"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://cqrh2cc7m2i7f"]
|
||||
|
||||
[ext_resource type="Environment" uid="uid://d0cfgtx2yxw13" path="res://environments/prototype_environment.tres" id="1_i6jab"]
|
||||
[ext_resource type="Material" uid="uid://bx3f5vx71ynh5" path="res://materials/Graymat.tres" id="4_y6i55"]
|
||||
|
|
@ -20,6 +20,7 @@
|
|||
[ext_resource type="Script" uid="uid://bos7nftlx8tv3" path="res://gui/hud/player_round_time.gd" id="18_0hcup"]
|
||||
[ext_resource type="PackedScene" uid="uid://cmon3g1lsm3q" path="res://gui/team_choice/team_choice_menu.tscn" id="19_gcyg7"]
|
||||
[ext_resource type="PackedScene" uid="uid://j5lgbg8c0pq" path="res://gui/buy_menu/buy_menu.tscn" id="20_gcyg7"]
|
||||
[ext_resource type="Script" uid="uid://btbpe8hgf0knl" path="res://gui/team_won_text.gd" id="21_tdf5c"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ysk2e"]
|
||||
size = Vector3(15.324341, 0.96273804, 21.381592)
|
||||
|
|
@ -33,6 +34,11 @@ size = Vector3(58.51023, 8.172485, 33.813843)
|
|||
[sub_resource type="BoxShape3D" id="BoxShape3D_5uqia"]
|
||||
size = Vector3(9.06966, 8.172485, 17.716736)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_gcyg7"]
|
||||
font_size = 70
|
||||
outline_size = 20
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="PrototypeScene" type="Node3D"]
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
|
|
@ -381,3 +387,17 @@ script = ExtResource("17_wsuwo")
|
|||
|
||||
[node name="BuyMenu" parent="CanvasLayer" instance=ExtResource("20_gcyg7")]
|
||||
visible = false
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="WinLabel" type="Label" parent="CanvasLayer/CenterContainer"]
|
||||
modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 2
|
||||
label_settings = SubResource("LabelSettings_gcyg7")
|
||||
script = ExtResource("21_tdf5c")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue