RenderMap
From Spheriki
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 |
[edit]
Usage
function RenderMap();
[edit]
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).
[edit]
Notes
None.
[edit]
See also
- FlipScreen()
- GetKey()
- Rectangle()

