Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbPlayObject is not working.

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 3rd Jul 2007 16:56
trying an animation from 200 to 300 on the miko character. The loop animation work fine, but I cant start or end on any frame. If I do

dbPlayObject( shipquest.m_door.getID( ), 200, 300 );

nothing is played.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 10th Jul 2007 01:49
(CORNY) BUT... What if you Called:

dbPlayObject(shipquest.m_door.getID( ));
dbPlayObject(shipquest.m_door.getID( ), 200, 300 );

Maybe just to see if some "I am playing now" flag isn'rt being set. A Bug perhaps - but I wonder if a workaround this could "get it done"

Know way too many languages - Master of none
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 10th Jul 2007 15:23
Looks like it fails both ways.
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 10th Jul 2007 22:48
That stinks. Because your last entry isn't real specific, may I ask if you can at least "PlayObject" for the whole animation?

HAve you had any luck with that? (Just curious... I realize how lame it is if you can't animate objects from this frame to that - .. makes it kida hard to make character with many animations do all they have the potential to do.. like walk, get hit, fall down, jump etC)

If Play Object at least works - I guess (not great but..) you could load multiple objects (same character) with the various animations and make it look right - but this is terrible for resources and a coding nightmare.

UGH.

Know way too many languages - Master of none
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 11th Jul 2007 19:32 Edited at: 11th Jul 2007 19:44
Ya play object does work, may have to do that..

update

I noticed that dbPlayObject(1) plays.. and dbPlayObject(1,100) also plays but does not start at from 100. and dbPlayObject(1,100,300) plays nothing. stays at frame one.
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 23rd Jul 2007 21:58
As long as you use a float it works fine.


dbPlayObject(1,5.0f,25.0f)

Login to post a reply

Server time is: 2024-09-29 01:22:01
Your offset time is: 2024-09-29 01:22:01