- Timestamp:
- Oct 30, 2017, 4:17:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.cc
r11514 r11521 50 50 51 51 this->UpwardThrust = 1; 52 this->speed = 1; orxout() << "constr speed set: " << 1 << endl;52 this->speed = 1; 53 53 this->gravity = 1; 54 54 … … 68 68 if (this->hasLocalController()) 69 69 { 70 70 if(getHealth()<0){ 71 getGame()->costLife(); 72 getGame()->end(); 73 } 71 74 Vector3 pos = getPosition(); 72 75 velocity.y += gravity;
Note: See TracChangeset
for help on using the changeset viewer.