tmSetCamera

Sets the world position at the top left of the screen. Takes map (The map's handle), x (The world x position, in pixels), y (The world y position, in pixels). Returns nothing.

Tilemap

Parameters & Returns

Parameters

map Int
x Int
y Int

Returns

Void

Quick Summary

Sets the world position at the top left of the screen. Takes map (The map's handle), x (The world x position, in pixels), y (The world y position, in pixels). Returns nothing.

Technical Exegesis...

Sets the world position at the top left of the screen.

See the Tilemaps guide.

Returns nothing.

Example

Example.bam
tmSetCamera(map, playerX - 640, 0)