Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic changes to the layer opacity on tiled maps #3066

Open
1 task
gotnull opened this issue Mar 5, 2024 · 0 comments
Open
1 task

Support dynamic changes to the layer opacity on tiled maps #3066

gotnull opened this issue Mar 5, 2024 · 0 comments

Comments

@gotnull
Copy link

gotnull commented Mar 5, 2024

Problem to solve

I would like to be able to modify the layer opacity on a tiled map.

Proposal

Being able to access a layer:

final backgroundOff = game.tileMap.getLayer("Background");

..and set its opacity:

backgroundOff.opacity = 0.5;

More information

No response

Other

  • Are you interested in working on a PR for this?
@ufrshubham ufrshubham changed the title Ssupport dynamic changes to the layer opacity on tiled maps Support dynamic changes to the layer opacity on tiled maps Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant