Drawing_map


Mr_Munk

Member
Joined
Mar 9, 2005
Messages
226
Age
44
Location
Totnes, Devon, UK
Website
www.notofficial.co.uk
So far I have been drawing directly to 0,0 - screen background; is it possible to draw to a drawing map that exists as a 'layer' on top of what is drawn to the background screen ?

I have been playing with a map cloned from the background map but whenever I draw to it the whole screen goes black, even if I clear the cloned screen to colour 0 (which I gather is transparent)

Do these drawing_maps work like layers or have I just initialised one in memory and need another command to put it to the screen ? anyone know ? :)


[edit]

BTW: I am drawing using primitives not 'sprites'
 
Yeah, if you clone it it's just another map in memory, you need to use it as a graphic for a process, or paste it on the background using put/xput/map_put/map_xput to see it.
 
Thanks Moogle, can I use it as a transparent layer on top of the background ? :p Answered my own question, MAP_PUT overlays one map on another, MAP_CLEAR with a value of 0 for colour is transparent.

however

SCREEN_PUT 'replaces' the background with a new graph so can't overlay.

incase anyone else has the same problem in the future :lol:
 
Back
Top