PXC Documentation

PXC Home

MK Tile

pre 1.18

Generate game engines-ready tileset.



Node Data

GenerateArray

Display name

MK Tile

Internal name

Node_MK_Tile

Inheritances

node
node_processor
node_mk_tile

Inputs

node_mk_tile

surface

Texture

surface

Background Texture

enum

Type

enum

Output Type

padding

Crop

enum

Edge Type

surface

Edge

surface

Edge Bottom

surface

Edge Left

surface

Edge Right

padding

Edge Shift

toggle

Full Edge

enum

Edge Sprite

enum

Edge Transform

bool

Sort Array By Bit

Outputs

node_mk_tile

surface

Surface Out

MK Tile generate tileset from a set of surfaces.



Layers


Tile set generation has 3 layers, the background Background Texture, tile Texture, and edges Edge. The surface provided to every layers should be tilable/seamless texture.




Tile Set


The Type control the set of tiles to be generated. Currently there're 3 sets:


GMS Corner


Tile set for GameMaker studio 17 sprites tile.




GMS Corner + Side


Tile set for GameMaker studio 55 sprites tile.




Godot Blob


Tile set for Godot tile.




Cropping


The Crop property control the trimming of the tile layer in each direction. Note that the crop only affect tile layer.




Edge


Edge layer is used to draw sprite on the edge of the tile. Note that edge


Edge Type


Edge type control whether to use a single surface for all edges or individual edge sprites.



When using Uniform type, the edge should be aligned to the top edge with the same dimension as the tile. The other edges will be generated by flipping or rotating the edge texture based on the Edge Transform value.




When using individual type, each edge should be aligned to the side it connected to.


Edge Sprite


Edge sprite property allows you to set the corner edge differently from the side.



Edge Shift


Shift the edge of each side.


Full Edge


Whether to crop the edge of use the entire sprite.




Output


Output Type control whether to output as a single spritesheet or sprite array.