Jump to content

[SOLVED] sync video (WidgetSpriteVideo) with animation


photo

Recommended Posts

Hi 

 

When I play the game on my computer using (launch_release.bat) the video and animation is in sync but when the client plays it on a faster computer the video and animation is out of sync :(

 

I've also tested on a faster computer with a good video card and it's in sync!

 

Why would this be?

 

 

I set video by email the animation and video starts at 0:26

Link to comment

Hi Paul,

 

Please, check the condition of Vsync option (ESC -> Vsync) on both computers. Maybe you have it enabled and other computer is not.

 

If Vsync option is the same on both computers, I'm afraid we need some test scene for reproduction or at least script where you set the video fps.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

Hi

 

It's not (ESC -> Vsync)

 

The game runs all day waiting for XML, once it receives the XML it plays events, one event is a video with sync animation, first it ok but the second time, third and so on it's running way out of sync!

 

I have tried :

 

gameRunVideoBground.stop();   // video

 

viewport_node.setTime(1.000);    //model animation
    

gameRunVideoBground.setVideoTime(0.0f);    //video

 

when the video and animation needs restarting!

Link to comment

What is the best way to reset the video of WidgetSpriteVideo, is it:

 

    gameRunVideoBground.setVideoTime(0.0f);
  

What is the best way to reset animation of ObjectMeshSkinned ( which ones )

 

viewport_node.setTime(1.0f);
            viewport_node.setFrame(-1);
            viewport_node.setFrame(0.0f, 0, 0);
            viewport_node.clearFrame();
            viewport_node.getFrame();
            viewport_node.setTime(1.0f);

Link to comment
×
×
  • Create New...