images always there

BlitzPlus Forums/BlitzPlus Beginners Area/images always there

ccowan59(Posted 2005) [#1]
well I'm just starting at programing and whenever i make an image come up it still shows up after i have switch to a new image.
well this is the code i'm using can you please add what ever i need to do to fix it and then explain


Graphics 800,600
Global title=LoadImage ("symbol.png")
Global menu=LoadImage ("menu.png")
DrawImage title, 400,300
Text 400,400,"digital anarchy presents..."
WaitKey
FreeImage title
DrawImage menu, 0,0
WaitKey


End


CS_TBL(Posted 2005) [#2]
Graphics 640,480,32,2

SetBuffer BackBuffer() ; find info on 'doublebuffering', in the manual or anywhere on internet..


; first screen:
Cls
Text 400,300,"Blah"
Flip

WaitKey()

; second screen:
Cls
Text 300,400,"BLAH!"
Flip

WaitKey()

; byebye
Cls
End



ccowan59(Posted 2005) [#3]
thank you sooo much