Hi, I have a working game in C*+ ported to cocos2d-x wp8. Now I need to play an intro video before the actual game starts, This turned out to be a nightmare! Here is what I’ve tried so far, without success:
- tried to play the video into a CCSprite background texture by adapting the MS Sample code. Result: the video lags and crashes after a couple of seconds. Tried converting the video to 5 formats, same result.
- created a new mixed XAML/Direct3D app. Play the video in the first XAML page, run the game in the second XAML page with a Direct3D view. Had to manually port cocos2d-x and cocosDenshion to be able to run inside the component part of the project, but I cannot replace the CubeRenderer from the template with the cocos2d-x DirectXRender.
So, I’m stuck and out of ideas. If anyone knows how to play a fullscreen video at the beginning of a game written in C*+ for wp8, please let me know.