O'Reilly logo

DarkBASIC Pro Game Programming, Second Edition by Joshua R. Smith, Jonathan S. Harbour

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

Loading and Playing Movie Files

Despite the confusing plethora of audio-video formats and codecs, DB makes loading and playing AVI files as simple as loading and displaying a bitmap image. Not only does DB let you load and play a movie file with only a couple of lines of source code, you can even play several movies on the screen at the same time!

Basic Movie Playback Commands

There are quite a few commands to help you get the most out of your movie-going experience, but only a couple of those commands are absolutely necessary. This section will show you the commands that simply load and play a movie, along with some helper commands. First, I want to introduce you to the command to load a movie file.

Loading a Video File

You can use the LOAD ...

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