Replies: 1 comment 1 reply
-
Maybe use the global transform of the target sprite? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
I'm trying to display UI elements over a specific ingame entity. (for a example a store dialog over the sprite for the store). While the store is open the player can still move the camera and zoom.
This is my current implementation:
You set
desired_position
to the translation of the entity andoffset
to center the dialog on the center of the sprite...The UI Element is staying in place if I move the camera. But when I zoom the distance between UI and entity is off.
Maybe somebody has an idea?
Beta Was this translation helpful? Give feedback.
All reactions