Skip to content

Commit 257469c

Browse files
authored
Merge pull request #416 from OneLoneCoder/develop
v2.30
2 parents 66e5982 + 09ef1aa commit 257469c

File tree

11 files changed

+692
-375
lines changed

11 files changed

+692
-375
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
/.vs
66
/utilities/olcUTIL_AffineView.h
77
/utilities/olcUTIL_Maths.h
8+
/utilities/olcUTIL_GameMode.h
9+
/utilities/olcUTIL_Sparkles.h

contributions/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ These source code contributions enhance the functionality of the olcPixelGameEng
2323
* https://github.com/Oso-Grande/olcPGEX_Font
2424
* Arc Drawing
2525
* https://github.com/AlterEgoIV/olcPGEX_Arc
26+
* Audio/Video Playback
27+
* https://github.com/Piratux/olcPGEX_Media
2628

2729
## MacOS Support
2830
* These will potentially be absorbed into main build

examples/TEST_Animate2D.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
License (OLC-3)
55
~~~~~~~~~~~~~~~
66
7-
Copyright 2018 - 2022 OneLoneCoder.com
7+
Copyright 2018 - 2025 OneLoneCoder.com
88
99
Redistribution and use in source and binary forms, with or without
1010
modification, are permitted provided that the following conditions
@@ -45,7 +45,10 @@
4545
4646
Author
4747
~~~~~~
48-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022
48+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024, 2025
49+
50+
Version
51+
1.01 BugFix - Thanks ya0guang!
4952
5053
*/
5154

@@ -240,7 +243,7 @@ class TEST_Animate2D : public olc::PixelGameEngine
240243

241244
// If walk off screen, wrap around to other side
242245
if (dude.pos.x > ScreenWidth()) dude.pos.x -= ScreenWidth();
243-
if (dude.pos.y > ScreenHeight()) dude.pos.x -= ScreenHeight();
246+
if (dude.pos.y > ScreenHeight()) dude.pos.y -= ScreenHeight();
244247
if (dude.pos.x < 0) dude.pos.x += ScreenWidth();
245248
if (dude.pos.y < 0) dude.pos.y += ScreenHeight();
246249

0 commit comments

Comments
 (0)