PEd_TileCreate

A function defined in PEd_tileLegacy.gml

PEd_TileCreate(_room, _background, _left, _top, _width, _height, _x, _y, _depth)

Description

Creates a tile and adds it to the room.

Arguments

Name Type Description
_room Id.DsMap The room.
_background Real The background asset from which the new tile will be extracted.
_left Real The x coordinate of the left of the new tile, relative to the background asset's top left corner.
_top Real The y coordinate of the top of the new tile, relative to the background assets top left corner.
_width Real The width of the tile.
_height Real The height of the tile.
_x Real The x position in the room to place the tile.
_y Real The y position in the room to place the tile.
_depth Real The depth at which to place the tile.

Returns

Id.Tile The tile.


Copyright © 2024, BlueBurn. Built on September 03, 2024 using GMDoc.