diff --git a/.gitignore b/.gitignore index be170102a..ac5350650 100644 --- a/.gitignore +++ b/.gitignore @@ -114,3 +114,12 @@ project/vs2015/*.opendb docs/examples/web/*.html docs/examples/web/*/*.html !docs/examples/web/loader.html +!docs/examples/web/core/loader.html +!docs/examples/web/shapes/loader.html +!docs/examples/web/text/loader.html +!docs/examples/web/textures/loader.html +!docs/examples/web/audio/loader.html +!docs/examples/web/physac/loader.html +!docs/examples/web/shaders/loader.html +!docs/examples/web/models/loader.html + diff --git a/docs/examples/web/audio/audio_module_playing.png b/docs/examples/web/audio/audio_module_playing.png new file mode 100644 index 000000000..8bde9879d Binary files /dev/null and b/docs/examples/web/audio/audio_module_playing.png differ diff --git a/docs/examples/web/audio/audio_music_stream.png b/docs/examples/web/audio/audio_music_stream.png new file mode 100644 index 000000000..f8b14e159 Binary files /dev/null and b/docs/examples/web/audio/audio_music_stream.png differ diff --git a/docs/examples/web/audio/audio_raw_stream.png b/docs/examples/web/audio/audio_raw_stream.png new file mode 100644 index 000000000..344f4a710 Binary files /dev/null and b/docs/examples/web/audio/audio_raw_stream.png differ diff --git a/docs/examples/web/audio/audio_sound_loading.png b/docs/examples/web/audio/audio_sound_loading.png new file mode 100644 index 000000000..24071ce3c Binary files /dev/null and b/docs/examples/web/audio/audio_sound_loading.png differ diff --git a/docs/examples/web/audio/loader.html b/docs/examples/web/audio/loader.html new file mode 100644 index 000000000..c5e18be08 --- /dev/null +++ b/docs/examples/web/audio/loader.html @@ -0,0 +1,210 @@ + + +
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/core/core_2d_camera.png b/docs/examples/web/core/core_2d_camera.png
new file mode 100644
index 000000000..d2f9e634f
Binary files /dev/null and b/docs/examples/web/core/core_2d_camera.png differ
diff --git a/docs/examples/web/core/core_3d_camera_first_person.png b/docs/examples/web/core/core_3d_camera_first_person.png
new file mode 100644
index 000000000..a995591fe
Binary files /dev/null and b/docs/examples/web/core/core_3d_camera_first_person.png differ
diff --git a/docs/examples/web/core/core_3d_camera_free.png b/docs/examples/web/core/core_3d_camera_free.png
new file mode 100644
index 000000000..7874eedcf
Binary files /dev/null and b/docs/examples/web/core/core_3d_camera_free.png differ
diff --git a/docs/examples/web/core/core_3d_mode.png b/docs/examples/web/core/core_3d_mode.png
new file mode 100644
index 000000000..de65daebe
Binary files /dev/null and b/docs/examples/web/core/core_3d_mode.png differ
diff --git a/docs/examples/web/core/core_3d_picking.png b/docs/examples/web/core/core_3d_picking.png
new file mode 100644
index 000000000..254f2f884
Binary files /dev/null and b/docs/examples/web/core/core_3d_picking.png differ
diff --git a/docs/examples/web/core/core_basic_window.png b/docs/examples/web/core/core_basic_window.png
new file mode 100644
index 000000000..346184417
Binary files /dev/null and b/docs/examples/web/core/core_basic_window.png differ
diff --git a/docs/examples/web/core/core_color_select.png b/docs/examples/web/core/core_color_select.png
new file mode 100644
index 000000000..93ab83ae3
Binary files /dev/null and b/docs/examples/web/core/core_color_select.png differ
diff --git a/docs/examples/web/core/core_drop_files.png b/docs/examples/web/core/core_drop_files.png
new file mode 100644
index 000000000..d46c44cfd
Binary files /dev/null and b/docs/examples/web/core/core_drop_files.png differ
diff --git a/docs/examples/web/core/core_gestures_detection.png b/docs/examples/web/core/core_gestures_detection.png
new file mode 100644
index 000000000..d2bbb5d7c
Binary files /dev/null and b/docs/examples/web/core/core_gestures_detection.png differ
diff --git a/docs/examples/web/core/core_input_gamepad.png b/docs/examples/web/core/core_input_gamepad.png
new file mode 100644
index 000000000..5996eece5
Binary files /dev/null and b/docs/examples/web/core/core_input_gamepad.png differ
diff --git a/docs/examples/web/core/core_input_keys.png b/docs/examples/web/core/core_input_keys.png
new file mode 100644
index 000000000..483703213
Binary files /dev/null and b/docs/examples/web/core/core_input_keys.png differ
diff --git a/docs/examples/web/core/core_input_mouse.png b/docs/examples/web/core/core_input_mouse.png
new file mode 100644
index 000000000..a96e7faf7
Binary files /dev/null and b/docs/examples/web/core/core_input_mouse.png differ
diff --git a/docs/examples/web/core/core_mouse_wheel.png b/docs/examples/web/core/core_mouse_wheel.png
new file mode 100644
index 000000000..26a1f243d
Binary files /dev/null and b/docs/examples/web/core/core_mouse_wheel.png differ
diff --git a/docs/examples/web/core/core_random_values.png b/docs/examples/web/core/core_random_values.png
new file mode 100644
index 000000000..6dd49475c
Binary files /dev/null and b/docs/examples/web/core/core_random_values.png differ
diff --git a/docs/examples/web/core/core_storage_values.png b/docs/examples/web/core/core_storage_values.png
new file mode 100644
index 000000000..6cfd552dd
Binary files /dev/null and b/docs/examples/web/core/core_storage_values.png differ
diff --git a/docs/examples/web/core/core_vr_simulator.png b/docs/examples/web/core/core_vr_simulator.png
new file mode 100644
index 000000000..aa4d09323
Binary files /dev/null and b/docs/examples/web/core/core_vr_simulator.png differ
diff --git a/docs/examples/web/core/core_world_screen.png b/docs/examples/web/core/core_world_screen.png
new file mode 100644
index 000000000..b4853b458
Binary files /dev/null and b/docs/examples/web/core/core_world_screen.png differ
diff --git a/docs/examples/web/core/loader.html b/docs/examples/web/core/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/core/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/makefile b/docs/examples/web/makefile
index bdf32bee4..c7ffe5148 100644
--- a/docs/examples/web/makefile
+++ b/docs/examples/web/makefile
@@ -36,7 +36,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
endif
# define raylib directory for include and library
-RAYLIB_PATH = D:\GitHub\raylib
+RAYLIB_PATH ?= C:\GitHub\raylib
# determine PLATFORM_OS in case PLATFORM_DESKTOP selected
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
@@ -99,7 +99,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing
# -s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB)
- # -preload-file file.res # embbed file.res resource into .data file
+ # --preload-file file.res # embbed file.res resource into .data file
endif
ifeq ($(PLATFORM),PLATFORM_RPI)
CFLAGS = -O2 -s -Wall -std=gnu99 -fgnu89-inline
diff --git a/docs/examples/web/models/loader.html b/docs/examples/web/models/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/models/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/models/models_billboard.png b/docs/examples/web/models/models_billboard.png
new file mode 100644
index 000000000..dad1e55b7
Binary files /dev/null and b/docs/examples/web/models/models_billboard.png differ
diff --git a/docs/examples/web/models/models_box_collisions.png b/docs/examples/web/models/models_box_collisions.png
new file mode 100644
index 000000000..d01fd9dd2
Binary files /dev/null and b/docs/examples/web/models/models_box_collisions.png differ
diff --git a/docs/examples/web/models/models_cubicmap.png b/docs/examples/web/models/models_cubicmap.png
new file mode 100644
index 000000000..9cb854cb9
Binary files /dev/null and b/docs/examples/web/models/models_cubicmap.png differ
diff --git a/docs/examples/web/models/models_geometric_shapes.png b/docs/examples/web/models/models_geometric_shapes.png
new file mode 100644
index 000000000..6076b4297
Binary files /dev/null and b/docs/examples/web/models/models_geometric_shapes.png differ
diff --git a/docs/examples/web/models/models_heightmap.png b/docs/examples/web/models/models_heightmap.png
new file mode 100644
index 000000000..6dcf01f05
Binary files /dev/null and b/docs/examples/web/models/models_heightmap.png differ
diff --git a/docs/examples/web/models/models_mesh_picking.png b/docs/examples/web/models/models_mesh_picking.png
new file mode 100644
index 000000000..045db585c
Binary files /dev/null and b/docs/examples/web/models/models_mesh_picking.png differ
diff --git a/docs/examples/web/models/models_obj_loading.png b/docs/examples/web/models/models_obj_loading.png
new file mode 100644
index 000000000..560348b48
Binary files /dev/null and b/docs/examples/web/models/models_obj_loading.png differ
diff --git a/docs/examples/web/physac/loader.html b/docs/examples/web/physac/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/physac/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/shaders/loader.html b/docs/examples/web/shaders/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/shaders/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/shaders/shaders_custom_uniform.png b/docs/examples/web/shaders/shaders_custom_uniform.png
new file mode 100644
index 000000000..dfddc3a77
Binary files /dev/null and b/docs/examples/web/shaders/shaders_custom_uniform.png differ
diff --git a/docs/examples/web/shaders/shaders_model_shader.png b/docs/examples/web/shaders/shaders_model_shader.png
new file mode 100644
index 000000000..b829dea51
Binary files /dev/null and b/docs/examples/web/shaders/shaders_model_shader.png differ
diff --git a/docs/examples/web/shaders/shaders_postprocessing.png b/docs/examples/web/shaders/shaders_postprocessing.png
new file mode 100644
index 000000000..684cbd419
Binary files /dev/null and b/docs/examples/web/shaders/shaders_postprocessing.png differ
diff --git a/docs/examples/web/shaders/shaders_shapes_textures.png b/docs/examples/web/shaders/shaders_shapes_textures.png
new file mode 100644
index 000000000..63a2283c6
Binary files /dev/null and b/docs/examples/web/shaders/shaders_shapes_textures.png differ
diff --git a/docs/examples/web/shapes/loader.html b/docs/examples/web/shapes/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/shapes/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/text/loader.html b/docs/examples/web/text/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/text/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/textures/loader.html b/docs/examples/web/textures/loader.html
new file mode 100644
index 000000000..c5e18be08
--- /dev/null
+++ b/docs/examples/web/textures/loader.html
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/examples/web/textures/textures_particles__blending.png b/docs/examples/web/textures/textures_particles_blending.png
similarity index 100%
rename from docs/examples/web/textures/textures_particles__blending.png
rename to docs/examples/web/textures/textures_particles_blending.png