1 Attachment(s)
Center The Frame To The Application Window?
Is there a way to center the frame to the application window?
I have a portrait game where a character constantly moves from left to right on the screen. I want to support all device resolutions and I have been reading this: http://community.clickteam.com/threads/74189-Scaling-for-iPhone-5-and-iPad-HOW-TO-DO-IT-RIGHT.
I've gone with method 2 and put my applications window width at 640 and height at 960. My frame width is 768 and height at 1136.
Here is an image:
Attachment 20558
The orange borders are to stop my character from going off screen but I realized on smaller screen devices the character will go off screen.
Right now I am editing my objects in my frame so every object is in the center but the frames position appears to be 0, 0 which will make things worse if I center everything in my frame. I was wondering can the frame's position be changed so I can center it perfectly within my application window so I can then arrange all my objects to be in the center of my frame?
This will solve the problem of objects appearing off screen on smaller devices. I was also wondering is there a way I can change (on the fly) my object's positions depending on the devices screen size? If so I could for bigger device screens change the position of my objects to appear a little more towards the boundary of the screen.