Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How can I play video by using IF and Then command

Author
Message
Dispenser Ting
7
Years of Service
User Offline
Joined: 18th May 2016
Location:
Posted: 5th Oct 2017 10:13
My purpose is to play video (animation) in the 3D world.
I had insert the video already, but right now I want the video to been play according to certain condition.
My coding is complicated, including many subroutines. At the last part of the coding is "read map" where I am using a matrix to construct the 3D world.

Now, down below my "gosub _createmap" coding, I structure the coding in below. But I ready cannot think where or what command that
I can insert in order to play the video on certain condition.
The most I can think of is using "IF and Then", but still where should I insert though....Seriously. HELP.

Derek Darkly
12
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 5th Oct 2017 14:04 Edited at: 5th Oct 2017 14:06
I always assume that everyone has slightly different coding styles.

The structure I prefer in my code is something like this:



Send your parents to noisy sprite demo hell... enter the D-Zone

Login to post a reply

Server time is: 2024-03-29 01:44:03
Your offset time is: 2024-03-29 01:44:03