Changeset 11630 for code/branches/FlappyOrx_HS17/src/modules/flappyorx
- Timestamp:
- Dec 4, 2017, 3:53:25 PM (7 years ago)
- Location:
- code/branches/FlappyOrx_HS17/src/modules/flappyorx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.cc
r11624 r11630 256 256 257 257 //Set randomized deathmessages 258 if(point<10) sDeathMessage = DeathMessage10[rand()%(DeathMessage10.size())]; 258 if(point<7) sDeathMessage = DeathMessage7[rand()%(DeathMessage7.size())]; 259 else if(point<20) sDeathMessage = DeathMessage20[rand()%(DeathMessage20.size())]; 259 260 else if(point<30) sDeathMessage = DeathMessage30[rand()%(DeathMessage30.size())]; 260 else if(point<50) sDeathMessage = DeathMessage50[rand()%(DeathMessage50.size())]; 261 else sDeathMessage = DeathMessageover50[rand()%(DeathMessageover50.size())]; 261 else sDeathMessage = DeathMessageover30[rand()%(DeathMessageover30.size())]; 262 262 263 263 //Update Highscore -
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrx.h
r11624 r11630 141 141 const std::string Asteroid20[5] = {"Asteroid12_1","Asteroid12_2","Asteroid12_3","Asteroid12_4","Asteroid12_5"}; 142 142 143 std::vector<std::string> DeathMessage 10= {143 std::vector<std::string> DeathMessage7 = { 144 144 "You should really try that again", 145 145 "You can do better, can you?", … … 152 152 "Here's a tip: Try not to fly into these grey thingies.", 153 153 "We won't comment on that."}; 154 std::vector<std::string> DeathMessage 30 = {154 std::vector<std::string> DeathMessage20 = { 155 155 "Getting better!", 156 156 "Training has paid off, huh?", … … 161 161 "That wasn't crap, not bad", 162 162 "Surprisingly not bad."}; 163 std::vector<std::string> DeathMessage 50 = {163 std::vector<std::string> DeathMessage30 = { 164 164 "Flappin great", 165 165 "Good job!", … … 168 168 "That was really good,!", 169 169 "We are proud of you"}; 170 std::vector<std::string> DeathMessageover 50 = {170 std::vector<std::string> DeathMessageover30 = { 171 171 "You're flappin amazing", 172 172 "Fucking great job", -
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxHUDinfo.cc
r11624 r11630 87 87 if(messageID==3){ 88 88 setTextSize(0.05); 89 this->setCaption(" Press fire andthen press space to start");89 this->setCaption("First click, then press space to start"); 90 90 } 91 91 }
Note: See TracChangeset
for help on using the changeset viewer.