The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

I need to make a mechanical counter in 2D. To do this, I need to hide some of the symbols and partially the symbols themselves. Is there a way to do this? Or can it be done in another way? Like value of speed on this image (left tape, black area). Thanks
example

in Engine by (12 points)

1 Answer

0 votes

You need change the alpha (transparence) or the size?

If you need change the alpha you can manipulate the modulate property.

If you need change the size you can change the size property of the node.
Also, you can use a ProgressBar and change the Fill Mode property to Bilinear (Top and Bottom).

by (171 points)

No, I need to hide, for example, half of the symbol to create a rotating effect like a mechanical counter. The alpha channel hides the entire symbol, not a specific part of it. ProgressBar is not exactly what I need either. It is possible to imagine this as the movement of characters along the vertical, characters that are closer to the center are visible, like in a window, maybe some kind of color mask?

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 Frequently asked questions and 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 [email protected] with your username.