Image not Displaying

BlitzMax Forums/BlitzMax Programming/Image not Displaying

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

i tried that code :
Framework BRL.GLMax2D 
Import BRL.Basic
Import BRL.System
Import BRL.Pngloader

Graphics 640,480,0

Incbin "gfx/Pipe.png"
Incbin "gfx/Robi.png"

Const BOARD_WIDTH   = 33
Const BOARD_HEIGHT  = 33

'MASKBLEND marche mieux avec pipe_3 car les couleurs sont indéxées
'voir dans Gimp différence entre le pipe.png et le pipe_3.png

SetMaskColor 255,0,255
Global pipe:TImage = LoadAnimImage ("incbin::gfx/Pipe.png" ,BOARD_WIDTH, BOARD_HEIGHT,0,17,MASKEDIMAGE)
Global robi:TImage = LoadAnimImage ("incbin::gfx/Robi.png" ,BOARD_WIDTH, BOARD_HEIGHT,0,8,MASKEDIMAGE)

SetClsColor 128,128,128
While Not KeyHit(KEY_ESCAPE)
	Cls
	For Local i = 0 To 8
		DrawImage pipe,10,50+(i*33),i
	Next
	Flip
Wend

run ok for me !!!