[Orxonox-commit 7790] r12382 - in code/branches/OrxoBlox_FS19: data/overlays src/modules/OrxoBlox

ahuwyler at orxonox.net ahuwyler at orxonox.net
Thu May 16 15:34:58 CEST 2019


Author: ahuwyler
Date: 2019-05-16 15:34:58 +0200 (Thu, 16 May 2019)
New Revision: 12382

Modified:
   code/branches/OrxoBlox_FS19/data/overlays/OrxoBloxHUD.oxo
   code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
Log:
jetzt laufts?

Modified: code/branches/OrxoBlox_FS19/data/overlays/OrxoBloxHUD.oxo
===================================================================
--- code/branches/OrxoBlox_FS19/data/overlays/OrxoBloxHUD.oxo	2019-05-16 13:23:21 UTC (rev 12381)
+++ code/branches/OrxoBlox_FS19/data/overlays/OrxoBloxHUD.oxo	2019-05-16 13:34:58 UTC (rev 12382)
@@ -20,7 +20,17 @@
      caption   = "Points: "
     />
 
+    <OverlayText
+     position  = "0.7, 0.20"
+     pickpoint = "0.0, 0.0"
+     font      = "ShareTechMono"
+     textsize  = 0.05
+     colour    = "1.0, 1.0, 1.0, 1.0"
+     align     = "left"
+     
+    />
 
+
   </OverlayGroup>
 </Template>
 <Template name="spaceshiphud">
@@ -37,3 +47,9 @@
     />
   </OverlayGroup>
 </Template>
+
+
+<Template name="spectatorhud">
+  <OverlayGroup name = "spectatorhud" scale = "1, 1">
+  </OverlayGroup>
+</Template>
\ No newline at end of file

Modified: code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
===================================================================
--- code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc	2019-05-16 13:23:21 UTC (rev 12381)
+++ code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc	2019-05-16 13:34:58 UTC (rev 12382)
@@ -155,6 +155,8 @@
             // Create the first Wall.
             this->LevelUp();
 
+
+
             //Create Ship
             //this->ship_ = new OrxoBloxShip(this->center_->getContext());
             //this->ship_->setPosition(0, 0, 0);
@@ -194,7 +196,7 @@
         if (Highscore::exists())
         {
             int score = this->getScore(this->getPlayer());
-            Highscore::getInstance().storeScore("Tetris", score, this->getPlayer());
+            Highscore::getInstance().storeScore("OrxoBlox", score, this->getPlayer());
         }
 
         this->cleanup();



More information about the Orxonox-commit mailing list