diff --git a/2d/README.md b/2d/README.md new file mode 100644 index 00000000..eed4fa11 --- /dev/null +++ b/2d/README.md @@ -0,0 +1,8 @@ +# 2D Demos + +These demos are all 2D, but otherwise do not have a common theme. + +Languages: Most have GDScript, some have +[GDSL](https://docs.godotengine.org/en/latest/tutorials/shading/shading_reference/shading_language.html) + +Renderers: 6 of them are GLES 3, but most are GLES 2 diff --git a/2d/screen_space_shaders/README.md b/2d/screen_space_shaders/README.md index d28835b2..bbf3b1bc 100644 --- a/2d/screen_space_shaders/README.md +++ b/2d/screen_space_shaders/README.md @@ -5,7 +5,7 @@ Many common full-res effects are implemented here for reference. Language: [GDSL](https://docs.godotengine.org/en/latest/tutorials/shading/shading_reference/shading_language.html) and GDScript -Renderer: GLES 3 +Renderer: GLES 3 (the blur effect is not available in GLES 2, the rest work) ## Screenshots diff --git a/3d/README.md b/3d/README.md new file mode 100644 index 00000000..26044664 --- /dev/null +++ b/3d/README.md @@ -0,0 +1,7 @@ +# 3D Demos + +These demos are all 3D, but otherwise do not have a common theme. + +Languages: All are GDScript + +Renderers: Truck Town and Physics Tests are GLES 2, the rest are GLES 3 diff --git a/audio/README.md b/audio/README.md new file mode 100644 index 00000000..8dacde66 --- /dev/null +++ b/audio/README.md @@ -0,0 +1,7 @@ +# Audio Demos + +These demos showcase various audio features. + +Languages: All are GDScript + +Renderers: All are GLES 2 diff --git a/gui/README.md b/gui/README.md new file mode 100644 index 00000000..a50315de --- /dev/null +++ b/gui/README.md @@ -0,0 +1,8 @@ +# GUI Demos + +These demos showcase GUI features and text features via +[`Control`](https://docs.godotengine.org/en/latest/classes/class_control.html) nodes. + +Languages: All are GDScript, except SDF has no code + +Renderers: All are GLES 2 diff --git a/gui/drag_and_drop/drag_drop_script.gd b/gui/drag_and_drop/drag_drop_script.gd index 7845e239..659d6b73 100644 --- a/gui/drag_and_drop/drag_drop_script.gd +++ b/gui/drag_and_drop/drag_drop_script.gd @@ -1,12 +1,12 @@ extends ColorPickerButton func get_drag_data(_pos): - # Use another colorpicker as drag preview + # Use another colorpicker as drag preview. var cpb = ColorPickerButton.new() cpb.color = color cpb.rect_size = Vector2(50, 50) set_drag_preview(cpb) - # Return color as drag data + # Return color as drag data. return color diff --git a/gui/rich_text_bbcode/rich_text_bbcode.gd b/gui/rich_text_bbcode/rich_text_bbcode.gd index da0dfa25..735d65eb 100644 --- a/gui/rich_text_bbcode/rich_text_bbcode.gd +++ b/gui/rich_text_bbcode/rich_text_bbcode.gd @@ -2,7 +2,7 @@ extends Panel func _on_RichTextLabel_meta_clicked(meta): var err = OS.shell_open(meta) - if (err == OK): + if err == OK: print("Opened link '%s' successfully!" % meta) else: print("Failed opening the link '%s'!" % meta) diff --git a/gui/sdf_font/README.md b/gui/sdf_font/README.md index f07ca4d1..944213b1 100644 --- a/gui/sdf_font/README.md +++ b/gui/sdf_font/README.md @@ -4,7 +4,7 @@ This is a demo of Signed Distance Field fonts in Godot. The technique used allows the text to remain clear under arbitrary zooms and rotations. -Language: GDScript +Language: This demo contains no code. Renderer: GLES 3 (this effect is not available in GLES 2) diff --git a/loading/README.md b/loading/README.md new file mode 100644 index 00000000..154713aa --- /dev/null +++ b/loading/README.md @@ -0,0 +1,7 @@ +# Loading Demos + +These demos demonstrate various ways to load scenes and other data. + +Languages: All are GDScript + +Renderers: All are GLES 2 diff --git a/misc/README.md b/misc/README.md new file mode 100644 index 00000000..f4993cbc --- /dev/null +++ b/misc/README.md @@ -0,0 +1,10 @@ +# Miscellaneous Demos + +These demos don't fit into any other category, so they go into this folder. + +Languages: All have GDScript, OpenSimplexNoise has +[GDSL](https://docs.godotengine.org/en/latest/tutorials/shading/shading_reference/shading_language.html), +OS test has some +[C#](https://docs.godotengine.org/en/latest/getting_started/scripting/c_sharp/index.html) + +Renderers: All are GLES 2 diff --git a/mobile/README.md b/mobile/README.md index e7d05b8e..7ee62066 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -4,6 +4,6 @@ These demos depend on features only available in mobile phones or tablets. The Android IAP demo only runs on Android. -Language: All are GDScript +Languages: All are GDScript -Renderer: All are GLES 2 +Renderers: All are GLES 2 diff --git a/mono/README.md b/mono/README.md index 9fae9115..12e29698 100644 --- a/mono/README.md +++ b/mono/README.md @@ -1,3 +1,13 @@ +# Mono Demos + +These demos are written in [C#](https://docs.godotengine.org/en/latest/getting_started/scripting/c_sharp/index.html). +You must have the Mono version of Godot to run these. + +Languages: All have [C#](https://docs.godotengine.org/en/latest/getting_started/scripting/c_sharp/index.html), +2.5D has some GDScript + +Renderers: Dodge the Creeps is GLES 3, rest are GLES 2 + # Note: Godot 3.2.2 or newer is required While most of the demos work with any 3.2.x version, these demos require diff --git a/networking/README.md b/networking/README.md new file mode 100644 index 00000000..3b39267f --- /dev/null +++ b/networking/README.md @@ -0,0 +1,7 @@ +# Networking Demos + +These demos showcase networking and/or multiplayer features. + +Languages: All have GDScript, WebRTC uses some GDNative + +Renderers: Multiplayer Bomber is GLES 3, rest are GLES 2 diff --git a/networking/multiplayer_bomber/README.md b/networking/multiplayer_bomber/README.md index dcedc37c..6564dfbb 100644 --- a/networking/multiplayer_bomber/README.md +++ b/networking/multiplayer_bomber/README.md @@ -6,7 +6,7 @@ should type in his address and press "play". Language: GDScript -Renderer: GLES 2 +Renderer: GLES 3 ## Screenshots diff --git a/viewport/README.md b/viewport/README.md new file mode 100644 index 00000000..9c7c68ff --- /dev/null +++ b/viewport/README.md @@ -0,0 +1,9 @@ +# Viewport Demos + +These demos showcase various ways to use the +[`Viewport`](https://docs.godotengine.org/en/stable/classes/class_viewport.html) node. + +Languages: All have GDScript, Dynamic Split Screen has +[GDSL](https://docs.godotengine.org/en/latest/tutorials/shading/shading_reference/shading_language.html) + +Renderers: 3D in 2D and GUI in 3D use GLES 3, the rest are GLES 2 diff --git a/visual_script/README.md b/visual_script/README.md new file mode 100644 index 00000000..4f35c045 --- /dev/null +++ b/visual_script/README.md @@ -0,0 +1,8 @@ +# VisualScript Demos + +These demos are written in [VisualScript](https://docs.godotengine.org/en/latest/getting_started/scripting/visual_script/index.html). + +Languages: All are [VisualScript](https://docs.godotengine.org/en/latest/getting_started/scripting/visual_script/index.html), +Multitouch View has some GDScript + +Renderers: All are GLES 2