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 / How to change Video Speed?

Author
Message
FG77
10
Years of Service
User Offline
Joined: 17th Mar 2014
Location:
Posted: 17th Mar 2014 13:42
I'm using MS VS 2008 with DarkGDK (Commercial Version) and DX SDK Aug 2007.

I can use "Load", "Place" and "Play" Animation and it works fine. Now i have to change videospeed while video is playing. So i want to use "dbSetAnimationSpeed" to do this. But this command has no effect. Why?
If i set speed with this command then i read the correkt value with dbAnimationSpeed.

What i can do to change speed of a video while the video is playing?

Thank you.
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 19th Mar 2014 10:47
We will need to see some code. I have tested the animation functions and it all checks out ok.
FG77
10
Years of Service
User Offline
Joined: 17th Mar 2014
Location:
Posted: 19th Mar 2014 14:01
Here you have a simple Example.
Gunslinger
17
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 22nd Mar 2014 16:16
dtTextf(1,1,"%i,%i",Speed,dbAnimationSpeed(1));

Does it show the correct / changed speed value?
So, if you add speed with +, does it change?
FG77
10
Years of Service
User Offline
Joined: 17th Mar 2014
Location:
Posted: 24th Mar 2014 14:20
Yes, it shows the correct/changed speed value. But Video do not change speed.

I thought i told this with
Quote: "If i set speed with this command then i read the correkt value with dbAnimationSpeed."
in my 1st post.
FG77
10
Years of Service
User Offline
Joined: 17th Mar 2014
Location:
Posted: 1st Apr 2014 10:17
Nobody has an idea to solve my problem?

Login to post a reply

Server time is: 2024-11-18 21:38:39
Your offset time is: 2024-11-18 21:38:39