bodypartfighter/BodyConfig/bodyBuilderMenu.tscn
2020-02-02 14:54:22 +01:00

119 lines
3.9 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[ext_resource path="res://BodyParts/BodyBase/BodyBase.tscn" type="PackedScene" id=1]
[ext_resource path="res://BodyConfig/bodyBuildingScript.gd" type="Script" id=2]
[ext_resource path="res://BodyConfig/LoadBodyParts.gd" type="Script" id=3]
[ext_resource path="res://Ingame/Arena.tscn" type="PackedScene" id=4]
[ext_resource path="res://Resources/Fonts/SmallButtonFont.tres" type="DynamicFont" id=5]
[ext_resource path="res://Resources/Styles/ButtonHoverStyle.tres" type="StyleBox" id=6]
[ext_resource path="res://Resources/Styles/ButtonPressedStyle.tres" type="StyleBox" id=7]
[ext_resource path="res://Resources/Styles/ButtonNormalStyle.tres" type="StyleBox" id=8]
[node name="Body Builder Menu" type="Spatial"]
script = ExtResource( 2 )
torsoPath = NodePath("Torso")
cameraPath = NodePath("GUI/HBoxC/ViewportContainer/Viewport/Camera")
rayCastPath = NodePath("GUI/HBoxC/ViewportContainer/Viewport/MouseLook")
viewPortPath = NodePath("GUI/HBoxC/ViewportContainer/Viewport")
playerNumPath = NodePath("PlayerCountLabel")
costProgressPath = NodePath("GUI/HBoxC/VBoxC/HBoxContainer/ProgressBar")
[node name="GUI" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxC" type="HBoxContainer" parent="GUI"]
margin_right = 1024.0
margin_bottom = 600.0
rect_min_size = Vector2( 550, 500 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxC" type="VBoxContainer" parent="GUI/HBoxC"]
margin_right = 301.0
margin_bottom = 600.0
rect_min_size = Vector2( 300, 500 )
script = ExtResource( 3 )
[node name="HBoxContainer" type="HBoxContainer" parent="GUI/HBoxC/VBoxC"]
margin_right = 301.0
margin_bottom = 38.0
[node name="Label" type="Label" parent="GUI/HBoxC/VBoxC/HBoxContainer"]
margin_right = 47.0
margin_bottom = 38.0
custom_fonts/font = ExtResource( 5 )
text = "Cost: "
[node name="ProgressBar" type="ProgressBar" parent="GUI/HBoxC/VBoxC/HBoxContainer"]
margin_left = 51.0
margin_right = 301.0
margin_bottom = 38.0
rect_min_size = Vector2( 250, 30 )
size_flags_vertical = 3
custom_fonts/font = ExtResource( 5 )
[node name="Start" type="Button" parent="GUI/HBoxC/VBoxC"]
margin_top = 42.0
margin_right = 301.0
margin_bottom = 80.0
custom_styles/hover = ExtResource( 6 )
custom_styles/pressed = ExtResource( 7 )
custom_styles/normal = ExtResource( 8 )
custom_fonts/font = ExtResource( 5 )
text = "Start Game"
[node name="Delete" type="Button" parent="GUI/HBoxC/VBoxC"]
margin_top = 84.0
margin_right = 301.0
margin_bottom = 122.0
custom_styles/hover = ExtResource( 6 )
custom_styles/pressed = ExtResource( 7 )
custom_styles/normal = ExtResource( 8 )
custom_fonts/font = ExtResource( 5 )
text = "Delete"
[node name="ViewportContainer" type="ViewportContainer" parent="GUI/HBoxC"]
margin_left = 305.0
margin_right = 1024.0
margin_bottom = 600.0
rect_min_size = Vector2( 500, 500 )
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
[node name="Viewport" type="Viewport" parent="GUI/HBoxC/ViewportContainer"]
size = Vector2( 719, 600 )
handle_input_locally = false
render_target_update_mode = 3
[node name="Camera" type="Camera" parent="GUI/HBoxC/ViewportContainer/Viewport"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 17.1507 )
[node name="MouseLook" type="RayCast" parent="GUI/HBoxC/ViewportContainer/Viewport"]
enabled = true
collide_with_areas = true
collide_with_bodies = false
[node name="PlayerCountLabel" type="Label" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -30.0
margin_right = 1.90735e-06
margin_bottom = 600.0
rect_min_size = Vector2( 30, 30 )
text = "1/4"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Torso" parent="." instance=ExtResource( 1 )]
[node name="Arena" parent="." instance=ExtResource( 4 )]
transform = Transform( 1, 0, 0, 0, 0.707107, -0.707107, 0, 0.707107, 0.707107, 8, -9.91555, -6.62132 )
[connection signal="pressed" from="GUI/HBoxC/VBoxC/Start" to="." method="_on_Start_pressed"]