O'Reilly logo

Marmalade SDK Mobile Game Development Essentials by Sean Scaplehorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The s3eVideo API

We'll finish our look at Marmalade's multimedia support by having a whirlwind look at support for playing video clips using the s3eVideo API. To make use of the functions it provides, we just need to include the s3eVideo.h file into our source code.

Before we begin, there are two things to consider when using video clips in our games. The first is that while it is possible to specify where on the screen the video clip will appear, it will always be drawn on top of all other graphics. The second issue is that due to hardware limitations in many mobile devices, the s3eVideo API cannot be used at the same time as the s3eAudio and s3eSound APIs. In the case of s3eAudio, any currently playing track will be stopped (this also applies ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required