Forráskód Böngészése

Add README files to most of the misc demos

The Android ones can wait for later
Aaron Franke 5 éve
szülő
commit
9b4cac5782

+ 12 - 0
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)

+ 0 - 0
misc/instancing/screenshots/.gdignore


BIN
misc/instancing/screenshots/instancing.png


+ 11 - 0
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)

+ 0 - 0
misc/joypads/screenshots/.gdignore


BIN
misc/joypads/screenshots/joypads.png


+ 2 - 2
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)

+ 12 - 0
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)

+ 0 - 0
misc/opensimplexnoise/screenshots/.gdignore


BIN
misc/opensimplexnoise/screenshots/opensimplex.png


+ 7 - 0
misc/pause/README.md

@@ -0,0 +1,7 @@
+# Pause Demo
+
+A demo showing how the game can be paused.
+
+Language: GDScript
+
+Renderer: GLES 2

+ 12 - 0
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)

+ 1 - 1
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"
 

+ 0 - 0
misc/regex/screenshots/.gdignore


BIN
misc/regex/screenshots/regex.png


+ 11 - 0
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)

+ 0 - 0
misc/tween/screenshots/.gdignore


BIN
misc/tween/screenshots/tween.png


+ 19 - 0
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)

+ 0 - 0
misc/window_management/screenshots/.gdignore


BIN
misc/window_management/screenshots/window.png