room_tile_add_ext(ind,back,left,top,width,height,x,y,depth,xscale,yscale,alpha)
Jump to navigation
Jump to search
Description
Adds a new tile to the room at the given position and returns the index of the tile.
Parameters
Parameter | Description |
---|---|
ind | index of the room |
back | background from which the tile is taken |
left | x coordinate of the area of the background to use for the tile |
top | y coordinate |
width | width of the area in the background to use for the tile |
height | height of the area |
x | x coordinate of the position of the tile in the room |
y | y coordinate |
depth | depth of the tile |
xscale | horizontal scale of the tile |
yscale | vertical scale of the tile |
alpha | transparency of the tile between 0 (opaque) and 1 (visible) |
Return Values
returntype: Returns the index of the tile.
Example Call
// Example of using the function.