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() and dbLoopObject() - easy fix!

The Tall Man
Years of Service
User Offline
Joined: 16th Nov 2013
Location: Earth
Posted: 14th Dec 2013 18:40 Edited at: 15th Dec 2013 02:26
These commands were broken in the 2010 release of DarkGDK. They were trying to make it run faster, but forget to call the animation code in their new arrangement. So here's how YOU can call it yourself!

Add this command just before your dbSync() call.

To be able to call this function, you need to include its prototype before you call it. It actually belongs in DarkSDKBasic3D.h if you want to put it there. Here is the prototype:

That's it! This will reinstate your object animations.

To see how to fix it in the source code (what the revision that broke it forgot to do), it's #2, here:

You can also download the source code and compiled libraries (for your DarkGDK projects), where these functions, as well as dbLoadAnimation(), have been fixed.

Login to post a reply

Server time is: 2023-10-04 18:29:17
Your offset time is: 2023-10-04 18:29:17