diff --git a/.gitignore b/.gitignore index be170102..ac535065 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 00000000..8bde9879 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 00000000..f8b14e15 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 00000000..344f4a71 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 00000000..24071ce3 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 00000000..c5e18be0 --- /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 00000000..d2f9e634
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 00000000..a995591f
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 00000000..7874eedc
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 00000000..de65daeb
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 00000000..254f2f88
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 00000000..34618441
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 00000000..93ab83ae
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 00000000..d46c44cf
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 00000000..d2bbb5d7
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 00000000..5996eece
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 00000000..48370321
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 00000000..a96e7faf
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 00000000..26a1f243
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 00000000..6dd49475
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 00000000..6cfd552d
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 00000000..aa4d0932
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 00000000..b4853b45
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 00000000..c5e18be0
--- /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 bdf32bee..c7ffe514 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 00000000..c5e18be0
--- /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 00000000..dad1e55b
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 00000000..d01fd9dd
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 00000000..9cb854cb
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 00000000..6076b429
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 00000000..6dcf01f0
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 00000000..045db585
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 00000000..560348b4
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 00000000..c5e18be0
--- /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 00000000..c5e18be0
--- /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 00000000..dfddc3a7
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 00000000..b829dea5
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 00000000..684cbd41
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 00000000..63a2283c
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 00000000..c5e18be0
--- /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 00000000..c5e18be0
--- /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 00000000..c5e18be0
--- /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