DRAWMAP

Top  Previous  Next

Syntax

DRAWMAP(map as POINTER,opt buffer as POINTER)

Description

Renders the scrolling tile map into the buffer

Parameters

map - Map handle successfully returned by the NEWMAP function

buffer - Optional. Can be one of BACKBUFFER (default), FRONTBUFFER or SPRITEBUFFER.

Return value

None

Remarks

Maps should be drawn before any other screen element. If rendered into the backbuffer(defaut) then FLIP must be used to show the changes.

See Also: NEWMAP

Example usage

DRAWMAP myMap