Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2017, 2:38:03 PM (8 years ago)
Author:
merholzl
Message:

More clean-up, particle fix, deleting unnecessary files, adding quotes

File:
1 edited

Legend:

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

    r11620 r11624  
    2121 *
    2222 *   Author:
    23  *      Florian Zinggeler
     23 *      FLeo Merholz
     24 *      Pascal Schärli
    2425 *   Co-authors:
    2526 *      ...
     
    5253        deathTime = 0;
    5354
    54         particleLifespan = 0.1;
     55        particleLifespan = 0.08;
    5556        particleAge = 0;
    5657
     
    119120            if (camera != nullptr)
    120121            {
    121                 //camera->setPosition(Vector3(-pos.z, -pos.y, 0));
    122122                camera->setPosition(pos.x,-100,0);
    123123                camera->setOrientation(Vector3::UNIT_Z, Degree(0));
     
    138138
    139139    int FlappyOrxShip::timeUntilRespawn(){
    140         return 2-time(0)+deathTime;
     140        return 1-time(0)+deathTime;
    141141    }
    142142
     
    154154    }
    155155
    156     // void FlappyOrxShip::rotateRoll(const Vector2& value)
    157     // {
    158     //     if (getGame())
    159     //         if (getGame()->bEndGame)
    160     //             getGame()->end();
    161     // }
    162 
     156 
    163157    FlappyOrx* FlappyOrxShip::getGame()
    164158    {
     
    177171        deathTime = time(0);
    178172
    179         orxout()<<"death time: "<<deathTime<<std::endl;
     173        //orxout()<<"death time: "<<deathTime<<std::endl;
    180174        Vector3 pos = getPosition();
    181175        pos.x = 0;
Note: See TracChangeset for help on using the changeset viewer.