mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +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.
42 lines
776 B
Plaintext
42 lines
776 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://fonts/source_code_pro_explanations.tres" type="DynamicFont" id=2]
|
|
|
|
[node name="ControlsPanel" type="Panel"]
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
margin_left = -220.0
|
|
margin_bottom = 170.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Keys" type="Label" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = -10.0
|
|
margin_bottom = -10.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "Shoot:
|
|
Attack:
|
|
Stagger:
|
|
Jump:
|
|
Sprint:"
|
|
|
|
[node name="Keys2" type="Label" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 10.0
|
|
margin_top = 10.0
|
|
margin_right = -10.0
|
|
margin_bottom = -10.0
|
|
custom_fonts/font = ExtResource( 2 )
|
|
text = "R
|
|
F
|
|
X
|
|
Space
|
|
Shift"
|
|
align = 2
|