any one willing to have a shot at converting this code?
it seems to be a bit above me lol
type LoadBar
name$ as string
x1 as integer
y1 as integer
x2 as integer
y2 as integer
bdr as integer
width as integer
height as integer
length as integer
endtype
dim LoadBar(3) as LoadBar
function RunLoadScreen()
`load image "images\LoadScreen\LoadScreen.png",10
`paste image 10,0,0
LoadBar(3).height = 22 `height
LoadBar(3).width = 800 ` width
LoadBar(3).x1 = 0 `XPos
LoadBar(3).y1 = 550 `YPos
LoadBar(3).x2 = LoadBar(3).x1 + LoadBar(3).width
LoadBar(3).y2 = LoadBar(3).y1 + LoadBar(3).height
LoadBar(3).bdr = 0 `Border
LoadBar(3).length = 0
while myloop<1
for i = 1 to 255
Display_LoadBar(3)
paste image 10,0,0
wait 10
i3=i
i3=i3*4
LoadBar(3).length = i3
Display_LoadBar(3)
` paste image Logoimg,590,10,1
sync
next i
cls
myloop = myloop+1
endwhile
delete image 10
endfunction
function Display_LoadBar(Num)
box LoadBar(Num).x1,LoadBar(Num).y1,LoadBar(Num).x2,LoadBar(Num).y2,rgb(0,0,0),rgb(2,2,2),rgb(2,2,2),rgb(2,2,2)
ink rgb(2,2,2),1
box LoadBar(Num).x1+LoadBar(Num).bdr,LoadBar(Num).y1+LoadBar(Num).bdr,LoadBar(Num).x2-LoadBar(Num).bdr,LoadBar(Num).y2-LoadBar(Num).bdr
if LoadBar(Num).length > LoadBar(Num).width
box LoadBar(Num).x1+LoadBar(Num).bdr+1,LoadBar(Num).y1+LoadBar(Num).bdr+1,LoadBar(Num).x1+LoadBar(Num).width-LoadBar(Num).bdr-1,LoadBar(Num).y2-LoadBar(Num).bdr-1,rgb(255,0,0),rgb(255,0,0),rgb(255,0,0),rgb(255,0,0)
else
box LoadBar(Num).x1+LoadBar(Num).bdr+1,LoadBar(Num).y1+LoadBar(Num).bdr+1,LoadBar(Num).x1+LoadBar(Num).length-1,LoadBar(Num).y2-LoadBar(Num).bdr-1,rgb(255,0,0),rgb(255,0,0),rgb(255,0,0),rgb(255,0,0)
endif
endfunction
Amd Athlon 64 3000+ Newcastle , Asus K8N4-E Deluxe, 1.50GB DDR Ram , XFX Geforce 6600 Extreame Edition 512MB DDR2 Ram
GDK,DarkPhysics,DarkShader,DarkLights,DarkAI,BlueGUI,Unity