0 votes

Hey, working on 2D til-based platformer and I was wondering if there is way to modulate all the tiles in a tilemap. (For a background tilemap, I want darker, less saturated tiles) I couldn't find (Or at least understand) a setting in the tilemap node, nor a node that would modulate a single item.

Is there any way to do this?
If not I guess I'll just have to tint my main tiles in another program and have two sets.

in Engine by (25 points)

1 Answer

0 votes
Best answer

You can't do it like the sprite modulate, somebody was working on it, not sure if will be ready for 2.1.1.

But... you can do something like that with a Light2D, a textureframe or a polygon2D with different blend modes over the tilemap.

by (7,860 points)
selected by

Hmm, that's too bad. :/
Thanks for the answer though!

There is something else, you can do:

SceneRoot
|-CanvasLayer (with low layer)
|      |-CanvasModulate
|      |-BackgroundTilemap
|-NormalTilemap (or inside another CanvasLayer)

OH! Thanks SO much!
That's exactly what I wanted. :D

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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.