Well
rem main menu
load bitmap "bitmaps/Splash Screen",1
rem intro video
rem load animation "avi\demo1.avi",1
rem PLAY ANIMATION 1
rem the sound changing system/ MUSIC PLAYER
rem *********************************************************
and
rem Pressing key '1' will play sound 4
IF KEYSTATE(2)=1 THEN PLAY MUSIC 4
rem Pressing key '2' will play sound 5
IF KEYSTATE(3)=1 THEN PLAY MUSIC 5
rem Pressing key '3' will play sound 6
IF KEYSTATE(4)=1 THEN PLAY MUSIC 6
can be left out since it doesn't do anything. Which leaves:
rem *****************************************
rem *|------------Black Heart--------------|*
rem *|-------------------------------------|*
rem *|----------------By-------------------|*
rem *|---------------Joel------------------|*
rem *|---------------Levi------------------|*
rem *|-------------------------------------|*
rem *****************************************
rem start music
LOAD MUSIC "music/Oceans Apart.mid",1
Play MUSIC 1
rem *********************************************************
rem Load music files
LOAD MUSIC "music/Field.mid",4
LOAD MUSIC "music/Impatien.mid",5
LOAD MUSIC "music/Northern Lights.mid",6
rem *********************************************************
rem ------------THE GAME!-----------------------------
REM WINDOWS COMMANDS
set window title "Black Heart"
disable systemkeys
disable escapekey
rem Load textures/grass08 bitmap into image
LOAD BITMAP "textures/grass09.bmp",1
GET IMAGE 1,0,0,128,128
DELETE BITMAP 1
rem sync on
SYNC ON
rem Make a 3D landscape
MAKE MATRIX 1,10000.0,10000.0,25,25
rem Texture landscape
PREPARE MATRIX TEXTURE 1,1,1,1
rem Randomise landscape
RANDOMIZE MATRIX 1,100.0
rem Activate and distance fogging
FOG ON
FOG COLOR 89
FOG DISTANCE 5000
rem Begin loop
DO
rem Control camera turret
if upkey()=1 then move camera 10.0
if downkey()=1 then move camera -8.0
IF LEFTKEY()=1 THEN angle#=angle#-3.0
IF RIGHTKEY()=1 THEN angle#=angle#+3.0
rem Ensure angle stays within range
angle#=wrapvalue(angle#)
rem Update camera
YROTATE CAMERA angle#
rem Refresh screen
SYNC
rem End loop
LOOP
Worked fine with me if I left out all the media.
It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.