Showing results for on defold.com
...in a tile map
PARAMETERS
RETURNS
EXAMPLES
Iterate over all tiles in a tile map:
PARAMETERS
RETURNS
EXAMPLES
Iterate over all tiles in a tile map:
...New ▸ Tile Map. Name the new file “grid.tilemap”.
Defold needs you to initialize the grid. To do that, select the “layer1” layer and...
Defold needs you to initialize the grid. To do that, select the “layer1” layer and...
...local layers = editor.get("/level.tilemap", "layers")
for i = 1, #layers do
local layer = layers[i]
local id = editor.get(layer, "id")
local tiles...
for i = 1, #layers do
local layer = layers[i]
local id = editor.get(layer, "id")
local tiles...
...brush when painting in tilemap. Now it’s possible to flip and to rotate the brush when editing tile map using the following hotkeys...
...local layers = editor.get("/level.tilemap", "layers")
for i = 1, #layers do
local layer = layers[i]
local id = editor.get(layer, "id")
local tiles...
for i = 1, #layers do
local layer = layers[i]
local id = editor.get(layer, "id")
local tiles...
...What’s worse is if the tilemaps have different number of layers it will in fact result in a crash.
This kind of very...
This kind of very...
...While we did some minor improvements to the tilemap system in 2019 (better tile palette and interleaved layers) we have so far left out...
...Let’s see how it’s done!
As you can easily see I’ve got an image with layers, and the layer names have...
As you can easily see I’ve got an image with layers, and the layer names have...
...It is possible to more effectively batch GUI nodes while maintaining node hierarchies using GUI layers. You can read more about GUI layers and...
...msg.post(url, "request_transform")
and "transform_response"
– requests the transform from an instancemsg.post(url, "set_tile", ...)
– use tilemap.set_tile()
insteadNEW: (#8424) Render target as a...
and "transform_response"
– requests the transform from an instancemsg.post(url, "set_tile", ...)
– use tilemap.set_tile()
insteadNEW: (#8424) Render target as a...