diff --git a/misc/instancing/README.md b/misc/instancing/README.md new file mode 100644 index 00000000..0e82a1e2 --- /dev/null +++ b/misc/instancing/README.md @@ -0,0 +1,12 @@ +# Instancing Demo + +A demo showing how to use scene instancing to +make many duplicates of the same object. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/instancing.png) diff --git a/misc/instancing/screenshots/.gdignore b/misc/instancing/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/instancing/screenshots/instancing.png b/misc/instancing/screenshots/instancing.png new file mode 100644 index 00000000..474e9720 Binary files /dev/null and b/misc/instancing/screenshots/instancing.png differ diff --git a/misc/joypads/README.md b/misc/joypads/README.md new file mode 100644 index 00000000..8307ae18 --- /dev/null +++ b/misc/joypads/README.md @@ -0,0 +1,11 @@ +# Joypads Demo + +A tool for testing joypad input. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/joypads.png) diff --git a/misc/joypads/screenshots/.gdignore b/misc/joypads/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/joypads/screenshots/joypads.png b/misc/joypads/screenshots/joypads.png new file mode 100644 index 00000000..9075fc19 Binary files /dev/null and b/misc/joypads/screenshots/joypads.png differ diff --git a/misc/opensimplexnoise/OpenSimplexNoise_Viewer.gd b/misc/opensimplexnoise/OpenSimplexNoise_Viewer.gd index bf57f4d5..268fc8b3 100644 --- a/misc/opensimplexnoise/OpenSimplexNoise_Viewer.gd +++ b/misc/opensimplexnoise/OpenSimplexNoise_Viewer.gd @@ -32,8 +32,8 @@ func _ready(): func _refresh_noise_images(): # Adjust min/max for shader. - var _min = ((min_noise + 1)/2) - var _max = ((max_noise + 1)/2) + var _min = (min_noise + 1) / 2 + var _max = (max_noise + 1) / 2 var _material = $SeamlessNoiseTexture.material _material.set_shader_param("min_value", _min) _material.set_shader_param("max_value", _max) diff --git a/misc/opensimplexnoise/README.md b/misc/opensimplexnoise/README.md new file mode 100644 index 00000000..4d368081 --- /dev/null +++ b/misc/opensimplexnoise/README.md @@ -0,0 +1,12 @@ +# OpenSimplex Noise + +This is a sample project which allows the user to tweak +different parameters of an OpenSimplex noise texture. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/opensimplex.png) diff --git a/misc/opensimplexnoise/screenshots/.gdignore b/misc/opensimplexnoise/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/opensimplexnoise/screenshots/opensimplex.png b/misc/opensimplexnoise/screenshots/opensimplex.png new file mode 100644 index 00000000..bc6177ab Binary files /dev/null and b/misc/opensimplexnoise/screenshots/opensimplex.png differ diff --git a/misc/pause/README.md b/misc/pause/README.md new file mode 100644 index 00000000..369ab7cc --- /dev/null +++ b/misc/pause/README.md @@ -0,0 +1,7 @@ +# Pause Demo + +A demo showing how the game can be paused. + +Language: GDScript + +Renderer: GLES 2 diff --git a/misc/regex/README.md b/misc/regex/README.md new file mode 100644 index 00000000..1b8ff36a --- /dev/null +++ b/misc/regex/README.md @@ -0,0 +1,12 @@ +# RegEx (Regular Expressions) + +A demo showing regex functionality and usage. +Can also serve as a playground for regex testing. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/regex.png) diff --git a/misc/regex/project.godot b/misc/regex/project.godot index 9543b2c5..202e3756 100644 --- a/misc/regex/project.godot +++ b/misc/regex/project.godot @@ -15,7 +15,7 @@ _global_script_class_icons={ [application] -config/name="RegEx" +config/name="RegEx (Regular Expressions)" run/main_scene="res://regex.tscn" config/icon="res://icon.png" diff --git a/misc/regex/screenshots/.gdignore b/misc/regex/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/regex/screenshots/regex.png b/misc/regex/screenshots/regex.png new file mode 100644 index 00000000..ec322621 Binary files /dev/null and b/misc/regex/screenshots/regex.png differ diff --git a/misc/tween/README.md b/misc/tween/README.md new file mode 100644 index 00000000..770ee511 --- /dev/null +++ b/misc/tween/README.md @@ -0,0 +1,11 @@ +# Tween Interpolation + +A demo showing advanced tween usage. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/tween.png) diff --git a/misc/tween/screenshots/.gdignore b/misc/tween/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/tween/screenshots/tween.png b/misc/tween/screenshots/tween.png new file mode 100644 index 00000000..20c31534 Binary files /dev/null and b/misc/tween/screenshots/tween.png differ diff --git a/misc/window_management/README.md b/misc/window_management/README.md new file mode 100644 index 00000000..d7254c3d --- /dev/null +++ b/misc/window_management/README.md @@ -0,0 +1,19 @@ +# Window Management + +A demo showing the various window management features available through +[`OS`](https://docs.godotengine.org/en/latest/classes/class_os.html). + +- Moving the window. +- Making it resizeable / nonresizeable and setting its size. +- Minimizing and maximizing. +- Moving the window around. +- Capturing or hiding the mouse. +- Getting various information about the screens, including DPI. + +Language: GDScript + +Renderer: GLES 2 + +## Screenshots + +![Screenshot](screenshots/window.png) diff --git a/misc/window_management/screenshots/.gdignore b/misc/window_management/screenshots/.gdignore new file mode 100644 index 00000000..e69de29b diff --git a/misc/window_management/screenshots/window.png b/misc/window_management/screenshots/window.png new file mode 100644 index 00000000..093c2a00 Binary files /dev/null and b/misc/window_management/screenshots/window.png differ