tags:

views:

42

answers:

2

I'm planning on making a game for the iPhone and want to have the background constantly animated. I figured rather than looping a series of images, I'd play a video. Is it possible for me to play a video (with no controls popping up), and have graphics overtop of it (the actual game)? Or would I just be better off with looping images?

(I figured SO would be a better place to ask this than Game Development)

+1  A: 

Yes, using AVFoundation, or even the MPMoviePlayerController with the controls property turned off.

You can have anything you like overlaying the video. The performance for that is much better in iOS4 than earlier OS versions.

Kendall Helmstetter Gelner
+1  A: 

You can use MPMoviePlayerController and set the control style to none.

MPMoviePlayerController control style and MPMoviePlayerController control style list

vodkhang