first Prototype
This commit is contained in:
parent
e11825c698
commit
35ce267482
481 changed files with 17315 additions and 1 deletions
120
scenes/camera/camera.tscn
Normal file
120
scenes/camera/camera.tscn
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://ct45lmxlrkhaj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bvkbh5ngdd0dt" path="res://scenes/camera/camera.gd" id="1_xejhd"]
|
||||
[ext_resource type="PackedScene" uid="uid://bc84ynsnwc1ew" path="res://scenes/camera/UI/card.tscn" id="2_6m2n3"]
|
||||
|
||||
[node name="Camera3D" type="Camera3D"]
|
||||
current = true
|
||||
script = ExtResource("1_xejhd")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Control" type="Control" parent="CanvasLayer"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="General" type="Control" parent="CanvasLayer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="roundLabel" type="Label" parent="CanvasLayer/Control/General"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -32.0
|
||||
offset_top = 16.0
|
||||
offset_right = -22.0
|
||||
offset_bottom = 39.0
|
||||
grow_horizontal = 0
|
||||
text = "0"
|
||||
|
||||
[node name="Player" type="Control" parent="CanvasLayer/Control"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="PlayerNameLabel" type="Label" parent="CanvasLayer/Control/Player"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -24.0
|
||||
offset_top = 16.0
|
||||
offset_right = 24.0
|
||||
offset_bottom = 39.0
|
||||
grow_horizontal = 2
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="nextTurnButton" type="Button" parent="CanvasLayer/Control/Player"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -96.0
|
||||
offset_top = -48.0
|
||||
offset_right = -17.0
|
||||
offset_bottom = -17.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Continue"
|
||||
|
||||
[node name="ItemCards" type="HBoxContainer" parent="CanvasLayer/Control/Player"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = -136.0
|
||||
offset_right = 112.0
|
||||
offset_bottom = -10.0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="Card" parent="CanvasLayer/Control/Player/ItemCards" instance=ExtResource("2_6m2n3")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Card2" parent="CanvasLayer/Control/Player/ItemCards" instance=ExtResource("2_6m2n3")]
|
||||
layout_mode = 2
|
||||
itemType = 2
|
||||
|
||||
[node name="MagazineLabel" type="Label" parent="CanvasLayer/Control/Player"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 16.0
|
||||
offset_top = -184.0
|
||||
offset_right = 56.0
|
||||
offset_bottom = -161.0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="PlayerSelection" type="VBoxContainer" parent="CanvasLayer/Control/Player"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -64.0
|
||||
offset_top = -20.0
|
||||
offset_right = -24.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[connection signal="pressed" from="CanvasLayer/Control/Player/nextTurnButton" to="." method="_on_next_turn_button_pressed"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue