Skip to content
TimotheeGreg edited this page Mar 31, 2024 · 12 revisions

mset(x, y, tile_id)

Parameters

  • x, y : map coordinates.
  • tile_id : tile index (0-255).

Description

This function writes the specified background tile tile_id into the map at the given position. By default, changes to the map are lost when execution ends but they can be made permanent using sync.

The map coordinates are not to be confused with the screen coordinates. One screen can contain 30×17 cells.

XYmap_coordinates

Related

Clone this wiki locally