Hi, i m using Mireben Animation Class to play animations of my object..
but can't use dbAppendObject with this class??
i have 2 .x files 1 is fire.x having 86 frames and 2nd is reload.x which has 76 frames... i tried this
Fire.setID(10);
Fire.initAnim(0, 68, 150);
myAnimObject Walk;
Reload.setID(10);
Reload.initAnim(87,162,60);
while (LoopGDK( ) )
{
if ( dbMouseClick ( ) == 1 )
{
if(dbTimer() - shootingTimer > 110)
{
dbPositionSound(21, dbObjectPositionX(10),dbObjectPositionY(10), dbObjectPositionZ(10));
dbPlaySound(21);
shootingTimer = dbTimer();
}
int curTime = dbTimer();
Fire.animateObject(curTime);
}
if (dbKeyState (19))//(dbUpKey())
{
int curTime2 = dbTimer();
Reload.animateObject(curTime2);
}
}
Please Help