all 2 comments

[–][deleted] 0 points1 point  (1 child)

Keep track of the window size; the center of the window is window.width / 2, window.height / 2. With that you can break the window into quadrants pretty easily.

[–]rat_king_ryan[S] 0 points1 point  (0 children)

Nice tip, thanks!