Took me a little while to figure out the right combination of transformations to convert a point in world space to screen space. I’m using this for a context menu and for a biomass change indicator.
var screen_point: Vector2 = world_point
* get_viewport_transform().affine_inverse() # Convert to screen space.
* get_viewport().get_final_transform() # Handle window scaling.
Here’s the context menu.
Here’s the indicator.
And while I’m sharing screenshots, here’s the new Blastema organ. It can be used to reinforce neighbouring cells.