there a way to move a map?

Started by MisterN, September 09, 2012, 03:18:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterN

in a process I put
map_xput(file,scroll_map,graph,x,y,0,100,0);
how would I move it though? I figure placing a map in the process would help save some memory by not having so many processes. thanks
werg

handsource-dyko

Once a map is blitted on the screen, you can't move it anymore. You could paste a clear map over it, or draw a solid rectangle over it's place and put the map on a new location. The idea with processes is really good, because it's flexible, but the disadvantage is memory overhead.

MisterN

can you show me how i would achieve this trick of moving a map?
werg