Skip to content

Commit

Permalink
Add GDExample.xml, Update web export preset
Browse files Browse the repository at this point in the history
  • Loading branch information
2shady4u committed Aug 22, 2024
1 parent 1c05810 commit 42a0f7c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 5 deletions.
27 changes: 22 additions & 5 deletions gdextension_cpp_example/demo/export_presets.cfg
Original file line number Diff line number Diff line change
@@ -1,24 +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=""
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=2
variant/extensions_support=true
variant/thread_support=true
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/ensure_cross_origin_isolation_headers=true
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
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)
20 changes: 20 additions & 0 deletions gdextension_cpp_example/doc_classes/GDExample.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<class name="GDExample" inherits="Sprite2D"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
<brief_description>
It's a wiggling sprite!
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
</members>
<signals>
</signals>
<constants>
</constants>
</class>

0 comments on commit 42a0f7c

Please sign in to comment.