Or try something like this:
now you can insert some calls to this function between the loading steps, eg:
load_progress(20)
;load meshes...
load_progress(40)
; load sounds etc.
load_progress(60)
; initialize network
load_progress(80)
; initialize player
load_progress(100)
; start main game loop
function load_progress(percent#) setbuffer frontbuffer() xrel#=graphicswidth()/640.0 yrel#=graphicsheight()/480.0 rect 0,(graphicsheight()/2.0)-(10.0*yrel) ,6.4*xrel#*percent, 20.0*yrel, 1 setbuffer backbuffer() end function
now you can insert some calls to this function between the loading steps, eg:
load_progress(20)
;load meshes...
load_progress(40)
; load sounds etc.
load_progress(60)
; initialize network
load_progress(80)
; initialize player
load_progress(100)
; start main game loop