mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 16:30:06 +01:00
This makes demos render correctly on hiDPI displays, while also demonstrating how to handle multiple resolutions. The 3D in 2D demo now uses "3D No-Effects" for the 3D viewport, which is faster to render. Thanks to this, 4× MSAA is now enabled for a better result. The background loading demo now uses mipmaps for better-looking images. The material testers demo now samples mouse input in a resolution-independent manner when panning. Default clear colors were also changed in some projects for visual consistency with the project's theme.
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://debug/states_stack_displayer.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/SourceCodePro-Bold.ttf" type="DynamicFontData" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 20
|
|
use_filter = true
|
|
font_data = ExtResource( 2 )
|
|
|
|
[node name="StatesStackDiplayer" type="Panel"]
|
|
margin_right = 210.0
|
|
margin_bottom = 170.0
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -105.0
|
|
margin_right = 105.0
|
|
margin_bottom = 40.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Pushown"
|
|
align = 1
|
|
valign = 1
|
|
uppercase = true
|
|
|
|
[node name="States" type="Label" parent="."]
|
|
margin_left = 20.0
|
|
margin_top = 50.0
|
|
margin_right = 190.0
|
|
margin_bottom = 170.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Jump
|
|
Test"
|
|
align = 1
|
|
|
|
[node name="Numbers" type="Label" parent="."]
|
|
margin_left = 20.0
|
|
margin_top = 50.0
|
|
margin_right = 190.0
|
|
margin_bottom = 170.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "1.
|
|
2."
|