diff --git a/C++ProjectTemplate b/C++ProjectTemplate index ee13d75..d8583fa 100755 Binary files a/C++ProjectTemplate and b/C++ProjectTemplate differ diff --git a/main.cpp b/main.cpp index a3ff353..7b95f5f 100644 --- a/main.cpp +++ b/main.cpp @@ -908,13 +908,11 @@ void Meteos::updateGame(float fElapsedTime){ int digit=tempScore%10; tempScore/=10; targetScoreDigits.insert(targetScoreDigits.begin(),digit); - std::cout<0){ int digit=tempDisplayScore%10; tempDisplayScore/=10; displayScoreDigits.insert(displayScoreDigits.begin(),digit); - std::cout<=3)?Pixel{207,103,0}:Pixel{255,255,255,180},{0.8,0.6}); } - DrawStringDecal(gameBoard.drawOffset+vi2d{-8,-16}+vi2d{1,1},std::to_string(displayScore),BLACK,{2,2}); - DrawStringDecal(gameBoard.drawOffset+vi2d{-8,-16},std::to_string(displayScore),WHITE,{2,2}); + DrawStringDecal(gameBoard.drawOffset+vi2d{-8,-24}+vi2d{1,1},std::to_string(displayScore),BLACK,{2,2}); + DrawStringDecal(gameBoard.drawOffset+vi2d{-8,-24},std::to_string(displayScore),WHITE,{2,2}); if (accumulatedScore>0){ - DrawStringDecal(gameBoard.drawOffset+vi2d{0,0}+vi2d{1,1},"+"+std::to_string(accumulatedScore),BLACK,{0.75,0.75}); - DrawStringDecal(gameBoard.drawOffset+vi2d{0,0},"+"+std::to_string(accumulatedScore),frameTime%5>2?Pixel{224, 184, 148}:WHITE,{0.75,0.75}); + DrawStringDecal(gameBoard.drawOffset+vi2d{0,-8}+vi2d{1,1},"+"+std::to_string(accumulatedScore),BLACK,{0.75,0.75}); + DrawStringDecal(gameBoard.drawOffset+vi2d{0,-8},"+"+std::to_string(accumulatedScore),frameTime%5>2?Pixel{224, 184, 148}:WHITE,{0.75,0.75}); } }