Dear colleagues,
I have a small screen resolution 640x480 and a big scene resolution - 1700x1200. So when my actor moves, game camera also moves. And I want to create a big square 200x200 in a center of the screen when "game pause" button is pressed. But I don't know how to calculate a center of a camera moving in order to create this square in the center of the screen. If I try using actors coordinate, the square will appear everywhere rather than appear only in the center of the screen because actor's coordinate can vary from left-top corner to right-bottom corner.
Please help me to solve that problem.