diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-13 23:00:10 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-02-13 23:00:10 -0500 |
commit | 224645d1071c14b4829dbb3ae35870868fcff85a (patch) | |
tree | f84f540eee09315eb0a689c523946ffa03f4fea0 /src/game.cpp | |
parent | 3df19e45e737a1b9395a9a258e3263e444ebedd7 (diff) | |
download | therapy-224645d1071c14b4829dbb3ae35870868fcff85a.tar.gz therapy-224645d1071c14b4829dbb3ae35870868fcff85a.tar.bz2 therapy-224645d1071c14b4829dbb3ae35870868fcff85a.zip |
Fixed inconsistent rendering failure
The issue appears to have been caused by blending with unset alpha channels. Also included the re-ordered player character sprite image. The CMake file has been updated to include linking against some Apple libraries that are usually already included in GLFW3. refs #1
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 39bb3f1..1182689 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -40,7 +40,7 @@ Game::Game( | |||
40 | 40 | ||
41 | int player = entityManager_.emplaceEntity(); | 41 | int player = entityManager_.emplaceEntity(); |
42 | 42 | ||
43 | AnimationSet playerGraphics {"res/Starla2.bmp", 10, 12, 6}; | 43 | AnimationSet playerGraphics {"res/Starla.png", 10, 12, 6}; |
44 | playerGraphics.emplaceAnimation("stillLeft", 3, 1, 1); | 44 | playerGraphics.emplaceAnimation("stillLeft", 3, 1, 1); |
45 | playerGraphics.emplaceAnimation("stillRight", 0, 1, 1); | 45 | playerGraphics.emplaceAnimation("stillRight", 0, 1, 1); |
46 | playerGraphics.emplaceAnimation("walkingLeft", 4, 2, 10); | 46 | playerGraphics.emplaceAnimation("walkingLeft", 4, 2, 10); |