Hey guys,
This code will not display an image.
anyon tell me what I am doing wrong.
;set up small game window
Graphics 320,240,15,2
Global stick = LoadImage("stand.bmp")
ClsColor 255,255,255;set background colour when cls is used to white
Cls;clear screen white
Color 0,0,0;set forground colour
;write text at location
Text 100,100,"Prepare to Fight!"
;draw the stage line
Line 0,200,320,200
WaitKey();wait for a user press
Cls
Line 0,200,320,200
DrawImage stick ,200,160
WaitKey()
FreeImage stick
End;end program
thanks
This code will not display an image.
anyon tell me what I am doing wrong.
;set up small game window
Graphics 320,240,15,2
Global stick = LoadImage("stand.bmp")
ClsColor 255,255,255;set background colour when cls is used to white
Cls;clear screen white
Color 0,0,0;set forground colour
;write text at location
Text 100,100,"Prepare to Fight!"
;draw the stage line
Line 0,200,320,200
WaitKey();wait for a user press
Cls
Line 0,200,320,200
DrawImage stick ,200,160
WaitKey()
FreeImage stick
End;end program
thanks