Loading.lua load all the menu image files in the
init block, then call them internally in the
main block, if you change some image name, you should do the same in the script, although a prefer do not to change anything there.
-- backdrop
g_imgBackdrop = LoadImage("titlesbank\\" .. g_strStyleFolder .. "\\" .. g_strBestResolution .. "\\loading.png")
g_sprBackdrop = CreateSprite ( g_imgBackdrop )
SetSpritePosition ( g_sprBackdrop, 0, 0 )
SetSpriteSize ( g_sprBackdrop, 100, 100 )
-- loading header and progress
g_imgHeading = LoadImage("titlesbank\\" .. g_strStyleFolder .. "\\loading-text.png")
g_sprHeading = CreateSprite ( g_imgHeading )
SetSpritePosition ( g_sprHeading, 50, 80 )
SetSpriteOffset ( g_sprHeading, GetImageWidth(g_imgHeading)/2, 0 )
g_imgProgressB = LoadImage("titlesbank\\" .. g_strStyleFolder .. "\\loading-bar-empty.png")
g_sprProgressB = CreateSprite ( g_imgProgressB )
g_imgProgressF = LoadImage("titlesbank\\" .. g_strStyleFolder .. "\\loading-bar-full.png")
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4