+1 vote

Hello,

Is it possible to use the methods in the Tileset class on an individual tile? For example, I can use tile_set_modulate() on a tile id but this will affect every tile; can you do this for a single tile of that id? I think from the way the tilemap works this is not possible, but is there a workaround for it or is there likely to be a future update which will include this?

Cheers.

asked Jun 4 in Engine by McVities Chocolate (23 points)

1 Answer

+2 votes
Best answer

I think from the way the tilemap works this is not possible

Correct.

but is there a workaround for it

You can spawn a Sprite at a cells position and modulate that.

or is there likely to be a future update which will include this?

I don't think so, storing information for (potentially) each individual cell as opposed to just each tile in the tileset is a lot more demanding in terms of memory. If you want to do that, you might as well use a set of individual Sprite nodes instead.

answered Jun 6 by njamster (8,874 points)
selected Jun 6 by McVities Chocolate
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.