How do I Anchor sprite Top Left

Get help using Construct 2

Post » Fri Jun 10, 2016 6:08 pm

Hello,

I'm having issues Anchoring my sprite top left of my window.

First off, this is for mobile, so screen size will need to be responsive, I'm currently using Inner-Scale. I just want to simply Anchor my sprite top left, when I do this - it appears cut off on most screen sizes.

I tried doing it via an event sheet too: Btn_Sprite.Position (0,0). But because I have inner crop, the sides are occasionally cut off with certain screen. How can I make an event for this to take into account the inner crop?

My console says that my Window Width = 640, and my Layout Width = 800. However, my actual screen size is 320 (google debug screen). When I run this, my sprite is too far off to the left.
B
5
S
1
Posts: 15
Reputation: 349

Post » Fri Jun 10, 2016 6:52 pm

Hi,
I think it's better to use in your configuration settings of the project, the option Letterbox integrate scale for Fullscreen in browser.
B
18
S
7
G
1
Posts: 56
Reputation: 3,000


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev and 26 guests