How to set ordering/layering of images

Monkey Targets Forums/HTML5/How to set ordering/layering of images

MonkeyPlotter(Posted 2016) [#1]
I've a couple of avatars that run around in a browser. I'd like for the avatars to be displayed on top of the map (you can see the green mans head is displayed 'behind' the map here: ) Is there some ordering to achieve this programmtically, the map is a png file therefore maybe I can adjust the alpha channel as an option?




MonkeyPlotter(Posted 2016) [#2]
Managed to get the Avatars dispplaying in front of the map by shifting the command to display the map 'up a bit' in the syntax. However, the avatars leak colour onto the display area if a threshold is breached, the green square can be seen at the bottom right as a bit of the leakage. How can I make the leakage appear in front of the map png image, thanks ;) (You can see the blue at the top of the map is obscured by the map:)




MonkeyPlotter(Posted 2016) [#3]
Fixed it, just needed to move the code that rendered the map higher up than the code tht rendered the other stuff, easy peasy really:

http://www.blitzbasic.com/Community/posts.php?topic=107309