If I run the following code, the programm will chrashes after some minutes.
This code is only an example to demostrate the problem in my new game.
In my new game I need very many graphics. I have to reload some graphics, because they are to many.
What can I do ?
Kind Regards,
Dirk Knoop
Graphics 1024,768,32,1
SetBuffer BackBuffer()
Repeat
If KeyHit(1)=1 Then End
c=c+1
Cls
Text 10,10,c
Flip
picture=LoadImage("picture.png")
FreeImage picture
Forever
This code is only an example to demostrate the problem in my new game.
In my new game I need very many graphics. I have to reload some graphics, because they are to many.
What can I do ?
Kind Regards,
Dirk Knoop
Graphics 1024,768,32,1
SetBuffer BackBuffer()
Repeat
If KeyHit(1)=1 Then End
c=c+1
Cls
Text 10,10,c
Flip
picture=LoadImage("picture.png")
FreeImage picture
Forever