diff --git a/.gitignore b/.gitignore index ba897af5..e13a677e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ src/vector3.o src/stb_image.o src/*.exe examples/*.o +examples/*.exe # Ignore thumbnails created by windows Thumbs.db diff --git a/examples/ex01_basic_window.exe b/examples/ex01_basic_window.exe deleted file mode 100644 index 6e09e6e5..00000000 Binary files a/examples/ex01_basic_window.exe and /dev/null differ diff --git a/examples/ex02a_logo_raylib.exe b/examples/ex02a_logo_raylib.exe deleted file mode 100644 index c0b7871a..00000000 Binary files a/examples/ex02a_logo_raylib.exe and /dev/null differ diff --git a/examples/ex02b_basic_shapes.exe b/examples/ex02b_basic_shapes.exe deleted file mode 100644 index e177eee2..00000000 Binary files a/examples/ex02b_basic_shapes.exe and /dev/null differ diff --git a/examples/ex02c_color_palette.exe b/examples/ex02c_color_palette.exe deleted file mode 100644 index c7582ec7..00000000 Binary files a/examples/ex02c_color_palette.exe and /dev/null differ diff --git a/examples/ex03a_input_keys.c b/examples/ex03a_input_keys.c index 0de39425..ac8acdc2 100644 --- a/examples/ex03a_input_keys.c +++ b/examples/ex03a_input_keys.c @@ -30,10 +30,10 @@ int main() { // Update //---------------------------------------------------------------------------------- - if (IsKeyPressed(KEY_RIGHT)) ballPosition.x += 0.8; - if (IsKeyPressed(KEY_LEFT)) ballPosition.x -= 0.8; - if (IsKeyPressed(KEY_UP)) ballPosition.y -= 0.8; - if (IsKeyPressed(KEY_DOWN)) ballPosition.y += 0.8; + if (IsKeyDown(KEY_RIGHT)) ballPosition.x += 0.8; + if (IsKeyDown(KEY_LEFT)) ballPosition.x -= 0.8; + if (IsKeyDown(KEY_UP)) ballPosition.y -= 0.8; + if (IsKeyDown(KEY_DOWN)) ballPosition.y += 0.8; //---------------------------------------------------------------------------------- // Draw diff --git a/examples/ex03a_input_keys.exe b/examples/ex03a_input_keys.exe deleted file mode 100644 index 96c915fc..00000000 Binary files a/examples/ex03a_input_keys.exe and /dev/null differ diff --git a/examples/ex03b_input_mouse.c b/examples/ex03b_input_mouse.c index 690c4c4b..da2912a3 100644 --- a/examples/ex03b_input_mouse.c +++ b/examples/ex03b_input_mouse.c @@ -19,7 +19,6 @@ int main() int screenHeight = 450; Vector2 ballPosition = { -100.0, -100.0 }; - int counter = 0; int mouseX, mouseY; InitWindow(screenWidth, screenHeight, "raylib example 06 - mouse input"); diff --git a/examples/ex03b_input_mouse.exe b/examples/ex03b_input_mouse.exe deleted file mode 100644 index 2910fe9b..00000000 Binary files a/examples/ex03b_input_mouse.exe and /dev/null differ diff --git a/examples/ex03c_input_gamepad.exe b/examples/ex03c_input_gamepad.exe deleted file mode 100644 index 440016a7..00000000 Binary files a/examples/ex03c_input_gamepad.exe and /dev/null differ diff --git a/examples/ex04a_textures.exe b/examples/ex04a_textures.exe deleted file mode 100644 index 51a65245..00000000 Binary files a/examples/ex04a_textures.exe and /dev/null differ diff --git a/examples/ex04b_texture_rectangle.exe b/examples/ex04b_texture_rectangle.exe deleted file mode 100644 index 6e747036..00000000 Binary files a/examples/ex04b_texture_rectangle.exe and /dev/null differ diff --git a/examples/ex05a_sprite_fonts.exe b/examples/ex05a_sprite_fonts.exe deleted file mode 100644 index 9f5994eb..00000000 Binary files a/examples/ex05a_sprite_fonts.exe and /dev/null differ diff --git a/examples/ex05b_rbmf_fonts.exe b/examples/ex05b_rbmf_fonts.exe deleted file mode 100644 index c3b21f29..00000000 Binary files a/examples/ex05b_rbmf_fonts.exe and /dev/null differ diff --git a/examples/ex06a_color_select.c b/examples/ex06a_color_select.c index febec407..ef767da8 100644 --- a/examples/ex06a_color_select.c +++ b/examples/ex06a_color_select.c @@ -37,7 +37,7 @@ int main() Vector2 mousePoint; - InitWindowEx(screenWidth, screenHeight, "raylib example 06a - color selection", false, "resources/mouse.png"); + InitWindow(screenWidth, screenHeight, "raylib example 06a - color selection"); SetTargetFPS(60); //-------------------------------------------------------------------------------------- diff --git a/examples/ex06a_color_select.exe b/examples/ex06a_color_select.exe deleted file mode 100644 index 07b57afe..00000000 Binary files a/examples/ex06a_color_select.exe and /dev/null differ diff --git a/examples/ex06b_logo_anim.exe b/examples/ex06b_logo_anim.exe deleted file mode 100644 index 570b2ffc..00000000 Binary files a/examples/ex06b_logo_anim.exe and /dev/null differ diff --git a/examples/ex06c_font_select.exe b/examples/ex06c_font_select.exe deleted file mode 100644 index a2919726..00000000 Binary files a/examples/ex06c_font_select.exe and /dev/null differ diff --git a/examples/ex07a_3d_mode.exe b/examples/ex07a_3d_mode.exe deleted file mode 100644 index 504ccce6..00000000 Binary files a/examples/ex07a_3d_mode.exe and /dev/null differ diff --git a/examples/ex07b_3d_shapes.exe b/examples/ex07b_3d_shapes.exe deleted file mode 100644 index 5f10ed88..00000000 Binary files a/examples/ex07b_3d_shapes.exe and /dev/null differ diff --git a/examples/ex07c_3d_models.c b/examples/ex07c_3d_models.c index 25861b1a..6d2185a5 100644 --- a/examples/ex07c_3d_models.c +++ b/examples/ex07c_3d_models.c @@ -27,7 +27,7 @@ int main() SetTargetFPS(60); // Set our game to run at 60 frames-per-second - Texture2D texture = LoadTexture("resources/catwhite.png"); + Texture2D texture = LoadTexture("resources/catsham.png"); Model cat = LoadModel("resources/cat.obj"); SetModelTexture(&cat, texture); // Link texture to model //-------------------------------------------------------------------------------------- diff --git a/examples/ex07c_3d_models.exe b/examples/ex07c_3d_models.exe deleted file mode 100644 index 970e6399..00000000 Binary files a/examples/ex07c_3d_models.exe and /dev/null differ diff --git a/examples/ex08_audio.exe b/examples/ex08_audio.exe deleted file mode 100644 index 199eec35..00000000 Binary files a/examples/ex08_audio.exe and /dev/null differ