first load your loading bar texture
load image "entitybank\user\bar.png",5001,0
we make a sprite then scale it to our loading bars size
SPRITE 5000, 498, 847, 5001
scale sprite 5000,197
hide sprite 5000
then here is the main bar code, put this in between your loading objects every once in a while to show the changes.
EDIT: YOU DONT EVEN NEED THE SPRITE FOR THIS TO WORK, THE SPRITE IS JUST FOR A BETTER LOOKING FILL TO THE BARS,BUT THE IMAGE i USED IS IN THE DOWNLOAD, ENJOY.
cls
SET TEXT OPAQUE rem -this here will set the text to fill the text background
wait 100 rem- we give the system a little update time
paste image 5000,50,80,1 rem -we paste our loading screen image
show sprite 5000 rem- we show the loading bar sprite
ink rgb(255,255,255),RGB(255,255,255)rem- this will change the color of your text the same color of your text background
text 500,850,"........................................" rem- this is your background loading bar, see the text, its transparent to the same color.
ink rgb(0,0,160),RGB(0,0,160)rem-, we change the color for new text bar
text 500,850,"."rem- the second loading bar to fill the first
sync
here is the code with no explinations
load image "entitybank\user\bar.png",5001,0
SPRITE 5000, 498, 847, 5001
scale sprite 5000,197
hide sprite 5000
cls
SET TEXT OPAQUE
hide mouse
wait 100
paste image 5000,50,80,1
show sprite 5000
ink rgb(255,255,255),RGB(255,255,255)
text 500,850,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 500,850,"."
sync
And here is a full working example with no media
rem Standard Setup Code
sync on : sync rate 0
hide mouse
SET DISPLAY MODE 1024, 768, 16
SET TEXT OPAQUE
cls
color backdrop rgb(128,128,128)
hide mouse
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"."
SYNC
WAIT 1000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"...."
SYNC
WAIT 5000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"......."
SYNC
WAIT 5000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"................."
SYNC
WAIT 1000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,".........................."
SYNC
WAIT 1000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"................................."
SYNC
WAIT 1000
REM LOAD STUFF HERE
cls
ink rgb(255,255,255),RGB(255,255,255)
text 350,650,"........................................"
ink rgb(0,0,160),RGB(0,0,160)
text 350,650,"........................................"
SYNC
WAIT 1000
REM LOAD STUFF HERE
DO
REM YOUR GAME CODE HERE
SYNC
LOOP
my signature keeps being erased by a mod So this is my new signature.