Add rotate and flip to Tilemap painting

#1

Could you add the ability to flip and/or rotate tiles when painting a Tilemap.

2 Likes

#2

Thanks for the suggestion. We have this in the backlog. Unfortunately this is unexpectedly tricky to implement so we can’t promise it will happen any time soon.

0 Likes

#3

How about supporting Tiled formats for tile maps instead?

0 Likes

#4

What is the reason you would like to use Tiled?

0 Likes

#5

It has features such as flipping tiles for example.

0 Likes

#6

Yes, but the problem is that the engine has to support those features, which is tricky. The editor part is easy.

0 Likes

#7

OK. I ssumed that the h_flip and v_flip fields would work. I didn’t realise these flags weren’t supported by the engine.

One solution could be to generate rotated verisons of tiles and generate a new tilemap containing the rotations and allow the editor to select between the rotated versions of each tile easily.

There are other improvements that would make the tilemap editor better but I’ll put them in separate tickets.

0 Likes

#8

Rotating and flipping the graphics in tiles is easy, but there is physics involved as well that makes it difficult.

0 Likes

#9

That’s all I meant to ask for in the first request. It would be useful to have.

0 Likes

#10

Bump!

Not being able to flip tiles means you may need to double or possibly quadruple your tilesource. That’s a lot of extra work creating the asset and that much extra memory use. I would really like to have this feature, even if it doesn’t affect collision (there are already exceptions like this for physics) and isn’t available in the editor (I can use Tiled).

Flipped tiles already display correctly in the editor, but not in the running game.

3 Likes

#11

I also agree, flipping (and rotating) tiles would reduce the file size considerably, which is especially relevant to new games that need a small footprint, like Facebook Instant. It also simplifies the workflow for artist.

2 Likes

#12

Hey, not sure if anything’s changed in a year, but I see that tiles support flipping in-engine via Lua scripting now - would it be possible to add tile map editor controls for this?

1 Like

#13

@vlaaad, you did work on the tilemap editor recently. Any input regarding this?

0 Likes