Ignore:
Timestamp:
Jan 25, 2011, 2:19:27 PM (11 years ago)
Author:
sam
Message:

More animation frames during mashes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/piece.cpp

    r284 r285  
    169169    case PieceData::POP:
    170170        data->state = PieceData::POP;
    171         data->timer = 400.0f;
     171        data->timer = 600.0f;
    172172        return 1;
    173173    default:
     
    314314        break;
    315315    case PieceData::POP:
    316         id = data->id + 7;
     316        if (data->timer < 60)
     317            id = data->id + 9;
     318        else if (data->timer < 120)
     319            id = data->id + 8;
     320        else if (data->timer < 180)
     321            id = data->id + 7;
     322        else if (data->timer < 240)
     323            id = data->id + 6;
     324        else
     325            id = data->id + 5;
    317326        break;
    318327    case PieceData::DEAD:
Note: See TracChangeset for help on using the changeset viewer.