mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
Update most demos for Godot 4.0.beta10 (#782)
This commit is contained in:
@@ -23,6 +23,8 @@ global="*res://global.gd"
|
||||
[display]
|
||||
|
||||
window/vsync/vsync_mode=0
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[rendering]
|
||||
|
||||
|
||||
@@ -25,10 +25,12 @@ text = "This is scene A."
|
||||
layout_mode = 0
|
||||
offset_left = 64.0
|
||||
offset_top = 128.0
|
||||
offset_right = 192.0
|
||||
offset_bottom = 160.0
|
||||
offset_right = 277.0
|
||||
offset_bottom = 182.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
theme_override_colors/font_color = Color(0.945098, 1, 0.556863, 1)
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Go to Scene B"
|
||||
|
||||
[connection signal="pressed" from="GoToSceneB" to="." method="_on_goto_scene_pressed"]
|
||||
|
||||
@@ -13,7 +13,6 @@ size_flags_vertical = 2
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 64.0
|
||||
offset_top = 48.0
|
||||
offset_right = 164.0
|
||||
@@ -22,13 +21,14 @@ size_flags_vertical = 0
|
||||
text = "This is scene B."
|
||||
|
||||
[node name="GoToSceneA" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 64.0
|
||||
offset_top = 128.0
|
||||
offset_right = 192.0
|
||||
offset_bottom = 160.0
|
||||
offset_right = 277.0
|
||||
offset_bottom = 182.0
|
||||
size_flags_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
theme_override_colors/font_color = Color(0.458824, 0.776471, 1, 1)
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Go to Scene A"
|
||||
|
||||
[connection signal="pressed" from="GoToSceneA" to="." method="_on_goto_scene_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user