Page 1 of 1

Layered/stacked images in GUI?

Posted: Mon Jul 25, 2016 1:46 pm
by aubergine18
Is it possible to layer images over each other in a GUI panel?

For example, when a custom entity is clicked, I'd like to draw that entity along with a few surrounding tiles in the GUI panel, for example to make it easier to associate the entity with surrounding entities. So, I'd want to first render a grid of the terrain, then the entities on top of that terrain (excluding cables etc) and then buttons at various locations over entities to allow selecting which entities to associate with my entity. The buttons might be different grid size to the rest of the display (eg. 4 buttons per map tile).

An alternate would be to have some way of doing a mini-cam background to a frame (live preview of map area) over which I could add my buttons.