Remove old and unused project settings, update various demos for 4.2 (#1024)

- Move all demo projects that don't require Forward+/Mobile-only features
  to the Compatibility rendering method. This improves performance significantly
  on low-end devices and ensures visuals are identical to a web export
  of the demo.
- Set deadzone on all inputs to 0.2 for better gamepad usability.
- Remove reliance on `default_env.tres` to use built-in Environment
  resources in the main scene instead (which follows the preview environment
  workflow).
- Remove notices pointing to GDNative or VisualScript, since both were
  removed in 4.0.
- Various bug fixes and usability tweaks to 10+ demos.
This commit is contained in:
Hugo Locurcio
2024-03-26 18:01:58 +01:00
committed by GitHub
parent 82913393a8
commit 31d1c0c112
266 changed files with 1619 additions and 1829 deletions

View File

@@ -12,7 +12,7 @@ Note that MIDI output is not yet supported in Godot, only input works.
Language: GDScript
Renderer: GLES 2
Renderer: Compatibility
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/1292

View File

@@ -3,26 +3,20 @@
[ext_resource type="Script" path="res://piano.gd" id="1"]
[node name="Piano" type="ColorRect"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0, 0, 0, 1)
script = ExtResource( "1" )
__meta__ = {
"_edit_use_anchors_": false
}
script = ExtResource("1")
[node name="WhiteKeys" type="HBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BlackKeys" type="HBoxContainer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 0.6
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -21,16 +21,7 @@ config/icon="res://icon.webp"
window/size/viewport_width=1280
window/size/viewport_height=200
[network]
limits/debugger_stdout/max_chars_per_second=2048000
[physics]
common/enable_pause_aware_picking=true
[rendering]
quality/driver/driver_name="GLES2"
vram_compression/import_etc=true
vram_compression/import_etc2=false
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"