Please forgive me if this is a noob question. What action can I use to center an object to where the window is?
I want to use this for creating a minimap. The layout will be big, and the scrolling is determined by touching the screen, and not a player object on the screen. Which is why I want to use a dummy object to center to the screen so that I can set its location inside the minimap.
Or do you think there is a more effective way to do this?
I think you MAY be looking for scrollx and scrollY
since i don't know much about your project i don't want to make up examples using scrollx and scrolly but i do think that's what your looking for.
Develop games in your browser. Powerful, performant & highly capable.
— That did the trick. Thank you so much!