Hum, I don't know if I have really got your question.
Anyway.
Basically, when you need to draw multiple layers of images, what is important is:
- the color used for transparency.
- the order of image drawing
Usually, the colour used for transparency is usually the black one; that means, if you have two images, one big which is a picture of a billiard table, and a smaller which represents a billiard ball, then if the billiard ball is an image that uses black as transparent color, you will see the billiard with a nice rounded ball on it using the commands:
drawimage billiard,0,0
drawimage ball,100,100
Otherwise, if the ball image uses another colour for transparency, you will see a (coloured) rectangle on the billiard board, with a ball inside it. Unless you change the ball's transparency color (known als as mask color) with the appropriate command (MaskImage).
In other words, the mask color is the key to 'see through' images. Assuming that the mask color is black, for example, then everything black in the image will not be displayed and will not overwrite other images already drawn.
Usually the mask color is black; but if your image has a different mask color, then you can change it with
MaskImage command:
Global Castle = Loadimage("Castle.bmp")
MaskImage castle,0,255,0 ;masked to green, so each green pixel of the castle image will NOT be drawn and will NOT cover any other image eventually 'under' it.
So, if in your hex grid you want to display a background, and on the background a castle, and on the castle a knight, then assuming that you have the black color as a transparent color for the castle and the knight sprite, you just need to do, at each loop:
DrawBlock background,0,0 ;DrawBlock will cover all despite transparency colour, so no need of cls (see manual)
drawimage castle, 100,100
drawimage knight, 110,120
So, since the background is drawn first, the castle 2nd and the knight the last one, the effect will be a nice background with a castle, and a knight near it.
If you, instead, draws the knight first, then the castle as 2nd and then the background, you will see only this one.
Hope this has sense for you,
Sergio.