- Timestamp:
- Nov 20, 2017, 2:00:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxHUDinfo.cc
r11565 r11566 68 68 if(not this->FlappyOrxGame->isDead()){ 69 69 if(this->bShowPoints_){ 70 const std::string& points = multi_cast<std::string>(this->FlappyOrxGame->getPoints());70 const std::string& points = "Score: "+multi_cast<std::string>(this->FlappyOrxGame->getPoints()); 71 71 setTextSize(0.04); 72 72 setPosition(Vector2(0.14, 0.02)); … … 79 79 } 80 80 else{ 81 if(this->bShowGameOver_){ 81 if(this->bShowPoints_){ 82 setTextSize(0); 83 } 84 else if(this->bShowGameOver_){ 82 85 std::string message = this->FlappyOrxGame->getDeathMessage(); 83 86 setTextSize(0.1); 84 87 setPosition(Vector2(.5, .5)); 88 89 setAlignment(OverlayText::Alignment::Center); 90 85 91 this->setCaption(message); 86 92 this->setColour(ColourValue(1, 0, 0, 1));
Note: See TracChangeset
for help on using the changeset viewer.