How do I create a title screen while the 3D game is loading? I don't want to look at a blank screen while the 3D game is loading.
Title Screen While Loading?
Blitz3D Forums/Blitz3D Beginners Area/Title Screen While Loading? Hey Jeff :)... this is what I use for showing a loading screen & playing a `theme tune`...
Graphics3D 800,600,32,1
SetBuffer BackBuffer()
;*************** loading screen *********
logo=LoadImage("loadpic.jpg")
MidHandle logo
Cls
DrawBlock logo,GraphicsWidth()/2,GraphicsHeight()/2
Flip
music=LoadSound("Themetune.mp3")
If music
LoopSound music
mc=PlaySound(music)
EndIf
Delay 3000 ; set to allow time for any instructions to be read
;******************************************
view=CreateCamera()
CameraRange view,1,14000
EntityRadius view, 2, 2
PositionEntity view,45,55,-250
etc etc etc etc etc..............................................
Graphics3D 800,600,32,1
SetBuffer BackBuffer()
;*************** loading screen *********
logo=LoadImage("loadpic.jpg")
MidHandle logo
Cls
DrawBlock logo,GraphicsWidth()/2,GraphicsHeight()/2
Flip
music=LoadSound("Themetune.mp3")
If music
LoopSound music
mc=PlaySound(music)
EndIf
Delay 3000 ; set to allow time for any instructions to be read
;******************************************
view=CreateCamera()
CameraRange view,1,14000
EntityRadius view, 2, 2
PositionEntity view,45,55,-250
etc etc etc etc etc..............................................
Is it possible to scale an image to fit the screen?
Yes, but it's ugly, so don't do it. Use a bigger image and adjust the UV coordinates so that only the screen-sized area is shown on your screen quad.
Iam missing Amiga functions (stupid PC..)
Specialy the COPER processor. and to use Hardware interupt every vblank..
missing missing.....
so nice loading starfields days..
Specialy the COPER processor. and to use Hardware interupt every vblank..
missing missing.....
so nice loading starfields days..