Ok I have a question about loading bitmaps into your game from disk. I'm designing an adventure game that loads a new bitmap background for each screen.
Here's the code I'm useing ScreenArray is an array of strings that store the names of the bitmaps that make up background pictures.
frmSprites.picBackground.Picture = LoadPicture(App.Path & "\Dat\Bak\" & ScreenArray(LocX, LocY) & ".bmp")
There is a noticable delay loading new screens when you first start the game, however once you go to a certain screen it always loads faster if you need to go back to it again later even though it goes through the same reloading process again. Does anyone know how I can speed this process up right from the start of the game?




Reply With Quote