generated from SGDA/GodotExampleProject
feat: level two base
This commit is contained in:
@ -25,6 +25,7 @@ theme_override_fonts/normal_font = ExtResource("2_u3pc4")
|
||||
text = "INTERACT"
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="."]
|
||||
z_index = 1000
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
@ -54,13 +55,14 @@ grow_vertical = 2
|
||||
|
||||
[node name="MessageBox" type="Label" parent="CenterContainer/ConfirmPanel/VBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(256, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "ENTRER DANS LA POSTE ?"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="CenterContainer/ConfirmPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
@ -88,7 +90,16 @@ size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "OH HELL NAH"
|
||||
|
||||
[node name="OkButton" type="Button" parent="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
text = "Whoops..."
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
||||
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/ConfirmButton" to="." method="_on_confirm_button_pressed"]
|
||||
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/CancelButton" to="." method="_on_cancel_button_pressed"]
|
||||
[connection signal="pressed" from="CenterContainer/ConfirmPanel/VBoxContainer/CenterContainer/HBoxContainer/OkButton" to="." method="_on_cancel_button_pressed"]
|
||||
|
Reference in New Issue
Block a user