RenderMap

From Spheriki

Jump to: navigation, search

Puts the current map image on the backbuffer. This means you can draw things over a 'screenshot' of the map engine. Things that are drawn in a renderscript are included into the map engine's screenshot.


Contents

Usage

function RenderMap();


Examples

RenderMap();
FlipScreen();
GetKey();

Simply renders the last known map image and waits for a keypress.


RenderMap();
Rectangle(0, 0, GetScreenWidth(), GetScreenHeight(), CreateColor(0,0,0, 100));
FlipScreen();

Renders the map image and a transparent rectangle in front of it (for a darkened-map-background effect).


Notes

None.


See also

Personal tools