forked from godotengine/godot-demo-projects
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web demo exports for Godot 4.3
This comes with other improvements: - Demos now work on desktop and mobile browsers, as ETC2 import is now automatically enabled before exporting each demo. - Progressive web app is available for each project. - Can be added to the home screen on a device for a closer-to-native experience. - Cross-origin isolation headers are automatically added, so that the export works with threads enabled despite being hosted on GitHub Pages (which doesn't send these headers). Several demos will need further tweaks to look better when using the Compatibility rendering method. Currently, many 3D demos appear too bright due to lights with shadows enabled using sRGB blending. Also, many demos will need to be modified to indicate which parts of them are not supported when running on the web platform, or when using the Compatibility rendering method.
- Loading branch information
Showing
5 changed files
with
127 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,41 @@ | ||
[preset.0] | ||
|
||
name="HTML5" | ||
platform="HTML5" | ||
name="Web" | ||
platform="Web" | ||
runnable=true | ||
advanced_options=false | ||
dedicated_server=false | ||
custom_features="" | ||
export_filter="all_resources" | ||
include_filter="*.json" | ||
include_filter="" | ||
exclude_filter="" | ||
export_path="" | ||
script_export_mode=1 | ||
script_encryption_key="" | ||
encryption_include_filters="" | ||
encryption_exclude_filters="" | ||
encrypt_pck=false | ||
encrypt_directory=false | ||
script_export_mode=2 | ||
|
||
[preset.0.options] | ||
|
||
custom_template/debug="" | ||
custom_template/release="" | ||
variant/export_type=0 | ||
variant/extensions_support=false | ||
variant/thread_support=true | ||
vram_texture_compression/for_desktop=true | ||
vram_texture_compression/for_mobile=false | ||
vram_texture_compression/for_mobile=true | ||
html/export_icon=true | ||
html/custom_html_shell="" | ||
html/head_include="" | ||
html/full_window_size=true | ||
html/canvas_resize_policy=2 | ||
html/focus_canvas_on_start=true | ||
html/experimental_virtual_keyboard=true | ||
progressive_web_app/enabled=true | ||
progressive_web_app/ensure_cross_origin_isolation_headers=true | ||
progressive_web_app/offline_page="" | ||
progressive_web_app/display=0 | ||
progressive_web_app/orientation=1 | ||
progressive_web_app/icon_144x144="" | ||
progressive_web_app/icon_180x180="" | ||
progressive_web_app/icon_512x512="" | ||
progressive_web_app/background_color=Color(0, 0, 0, 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters