there is a large error in my game already!
in my main function it shows "invalid image handle" whenever it get to the drawing of the images, I've tryed everything i can think of to stop it but nothing works!!!
Function BeginGame()
leave = 0
Local image1 = LoadImage("MainGameMenu.bmp")
Local image2 = LoadImage("Button1.bmp")
Local image3 = LoadImage("Button2.bmp")
While Not leave
Cls
DrawImage image1,400,300
DrawImage image2,400,300
DrawImage image3,400,300
Flip
Delay 200
Wend
End Function
p.s. while debuging I noticed that the images were always saved as 0 as opposed to a long string of numbers
in my main function it shows "invalid image handle" whenever it get to the drawing of the images, I've tryed everything i can think of to stop it but nothing works!!!
Function BeginGame()
leave = 0
Local image1 = LoadImage("MainGameMenu.bmp")
Local image2 = LoadImage("Button1.bmp")
Local image3 = LoadImage("Button2.bmp")
While Not leave
Cls
DrawImage image1,400,300
DrawImage image2,400,300
DrawImage image3,400,300
Flip
Delay 200
Wend
End Function
p.s. while debuging I noticed that the images were always saved as 0 as opposed to a long string of numbers