Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2017, 4:17:14 PM (7 years ago)
Author:
merholzl
Message:

changes here and there

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.cc

    r11514 r11521  
    5050
    5151        this->UpwardThrust = 1;
    52         this->speed = 1;orxout() << "constr speed set: " << 1 << endl;
     52        this->speed = 1;
    5353        this->gravity = 1;
    5454       
     
    6868        if (this->hasLocalController())
    6969        {
    70            
     70            if(getHealth()<0){
     71                 getGame()->costLife();
     72                 getGame()->end();
     73            }
    7174            Vector3 pos = getPosition();
    7275            velocity.y += gravity;
Note: See TracChangeset for help on using the changeset viewer.