Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Calebe |
Hello there! I’m new to Godot. I’ve been struggling with Controls for a few weeks now.
I’ve read the docs, a few assorted tutorials, browsed this forum and Reddit – but I can’t for the life of me develop a draggable/zoomable map by code/GDScript.
The map should have three layers. One for the lettering (should translate, not rescale); one for the UI (such as zoom in/out; fixed); and one for the map’s graphical elements themselves (should translate and rescale).
Could anyone please suggest me a node structure so I can accomplish this? Or point me to a working example project?
I already several combinations of Layers, Viewports, ViewportContainers, Camera2Ds, but nothing seems to work… and when they do, it’s in unexpected and automagical ways.
Thanks.