Ejecta game becomes improperly aligned on iPhone

Discussion and feedback on Construct 2

Post » Thu May 08, 2014 6:22 pm

There's a discrepency between the running game on iphone safari and as iphone app compiled with Ejecta. I just want to make sure that I didn't put some wrong settings while exporting the game (I remember reading somewhere that iPhone sucks at supporting letterbox scaling?) ....so if there's nothing wrong with my settings here, I'll go ask the Ejecta forums about alignment issues. Any advice would be great. Thanks!


Test #1: From iPhone (iOS 6.1+) Safari browser: Works perfectly (as does all our other full blown games). The health bar is properly aligned.

Image


...however...

Test #2: As an iphone app:

After building with Ejecta and running it as an app on the iPhone (iOS 6.1+), the health bar is improperly aligned at 50% height:

Image


Why is this? Is there something we need to change to Ejecta's index.js file? Or maybe an issue with my project settings?


PROJECT SETTINGS:
Project exported as bare minimum, with touch plugin, blank screen, and a few sprites.
WebGL: OFF
Scaling: Letterbox, full screen
Last edited by rainmaker on Thu May 08, 2014 7:07 pm, edited 1 time in total.
B
4
G
1
Posts: 19
Reputation: 353

Post » Thu May 08, 2014 6:40 pm

Can you upload a .capx to see the problems?
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361


Return to Construct 2 General

Who is online

Users browsing this forum: Brendan2007, Yahoo [Bot] and 6 guests