from the help file for
load image:
Quote: "The picture file must be of the BMP, JPG, TGA, DDS, DIB or PNG format"
so any of those will be fine.
your code for reference:
load bitmap "F:/Math Mystery/Math Mystery Title Page (official).bmp",0
wait 3000
cls
load bitmap "F:/Math Mystery/Math Mystery Page 2 (official).bmp",0
wait 10000
cls
load bitmap "F:/Math Mystery/Math Mystery Instructions Page (official).bmp",0
wait 20000
cls
load bitmap "F:/Math Mystery/Math Mystery Level 1 Page (official).bmp",0
wait 3000
cls
one tip is to get in the habit of using
relative file paths vs literal locations on
your computer so that when you share the game, others, who won't have the game in the exact same location on their systems, can (load the images and) play it.
having a media folder that holds all your images/media would be ideal. here's code example for loading and displaying images kept in a media folder next to the location of your game/app/exe file.
rem load media
load image "media/title.bmp",1
load image "media/page2.bmp",2
load image "media/instructions.bmp",3
load image "media/level1.bmp",4
rem some initialization
CurrentImage = 1 `set the current image to image 1
set text opaque `add opaque background to text so its easier to read
cx = screen width()/2 `find the center of the screen for use later
do
rem paste the current image to the screen
paste image CurrentImage,0,0
rem press space key to show next image
if spacekey() = 1 and (LastKey + 1000) < timer() ` press space to cycle to next image and require 1 second delay (1000ms) between image swaps
CurrentImage = CurrentImage + 1 `increase the image number
if CurrentImage > 4 then CurrentImage = 1 `make sure the image number isn't larger than the last image loaded
LastKey = timer() `update the timer for the 1 second delay
endif
rem show some info on the screen
center text cx,200,"Press <Space>"
center text cx,220,"Current Image: "+str$(CurrentImage)
loop
play with the commands we've mentioned here and see what you can put together to achieve your goal.
and, F1 from within the IDE is your friend
Virtual Nomad @ California, USA . DBPro V7.7 . Matrix1Utils 05.27.12
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit