diff --git a/.gitignore b/.gitignore index dd400cf0..bb0817d6 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /.vs /utilities/olcUTIL_AffineView.h /utilities/olcUTIL_Maths.h +/bin \ No newline at end of file diff --git a/assets/example_creative_commons.png b/assets/example_creative_commons.png new file mode 100644 index 00000000..17cdf713 Binary files /dev/null and b/assets/example_creative_commons.png differ diff --git a/example2 b/example2 new file mode 100755 index 00000000..066fb0f1 Binary files /dev/null and b/example2 differ diff --git a/examples/TEST_Animate2D.cpp b/examples/TEST_Animate2D.cpp index 94197fa6..dfb0405f 100644 --- a/examples/TEST_Animate2D.cpp +++ b/examples/TEST_Animate2D.cpp @@ -45,15 +45,16 @@ Author ~~~~~~ - David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022 + David Barr, aka javidx9, �OneLoneCoder 2019, 2020, 2021, 2022 */ #define OLC_PGE_APPLICATION +#define OLC_IGNORE_VEC2D +#include "utilities/olcUTIL_Animate2D.h" #include "olcPixelGameEngine.h" -#include "utilities/olcUTIL_Animate2D.h" class TEST_Animate2D : public olc::PixelGameEngine { @@ -108,7 +109,7 @@ class TEST_Animate2D : public olc::PixelGameEngine // For this appliaction I have a single image that contains // 28x2 unique characters, each character contains 8 animations of 3 // frames each. Each frame is 26x36 pixels - gfxAll.Load("./assets/MegaSprite1.png"); + gfxAll.Load("./assets/example_creative_commons.png"); // Thats A LOT of individual graphics, but they all follow a similar pattern // because the asset was created usefully (take note certain popular asset creators) diff --git a/utilities/olcUTIL_Animate2D.h b/utilities/olcUTIL_Animate2D.h index ee158cbd..91cae6dc 100644 --- a/utilities/olcUTIL_Animate2D.h +++ b/utilities/olcUTIL_Animate2D.h @@ -48,7 +48,7 @@ Author ~~~~~~ - David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024 + David Barr, aka javidx9, �OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024 Versions @@ -58,8 +58,8 @@ #pragma once -#include "olcPixelGameEngine.h" #include "utilities/olcUTIL_Geometry2D.h" +#include "olcPixelGameEngine.h" #include namespace olc::utils::Animate2D