I've been messin around with game creation for a few years now. Just recently, however, I started with the more complex programming software,(Like Dark Basic), where you have to know more than just how to use someone's drag and paste methods. I have found that there is only so much you can do with such programs, unless you can change the engine itself, which DBPro allows you to do.
Anyway, I'm no rocket scientist, so I'm having a hard time with something. What I'm attempting to do is go from my Intro Movie to my Main Menu (Title Screen) of the game. What I find strange is that I can get both things to work individually. I just can't seem to link them together.
This is very basic, I know. But what is the best way to jump from one loop to the next?
As it stands, the video plays and when spacebar is pressed, it's supposed to jump to the Main Menu, but doesn't. Also, if the video runs til the end, it needs to go to the Main Menu, but doesn't.
It gets hung up on lines 7-9
Here's the Code
Rem Setup for CWIntro
Sync On
Sync Rate 40
Load Animation "media/CWIntro.wmv",1
Play Animation 1
Do
Print "Press Spacebar to Skip"
If SpaceKey()=1 then GOTO MainMenu
Sync
Loop
Mainmenu:
Set Display Mode 800,600,32
Rem Load the MainMenu Screen
Load Image "MainMenu2.jpg",1
Paste Image 1,0,0
If it pleases the court, I'd like to withdraw that statement. . .