image.drawMap
x = 100
y = 100
buff = new Image( x, y )
buff.drawMap( mymap, 0, 0, x, y )
screen.drawImage( buff, 0, 0, x, y )
The Image class drawMap is not working properly. When I want to draw a tile map on the buff object (Image class), I cannot see that the map was drawn.
screen.clear()
screen.drawMap( mymap, 0, 0, x, y )
screen.clear()
buff.drawMap( mymap, 0, 0, x, y )
screen.drawImage( buff, 0, 0 , x, y )
However, when I first draw this map over the screen object. The tile map will then appear on the buff object.