Please someone can try this apk?

Discussion and feedback on Construct 2

Post » Mon Jan 02, 2017 2:07 pm

Have you tried to change the fullscreen mode to leterboxscale instead of leterboxinteger?

i never had this problem with intelxdk... seen people having it... but in R239 and R240 never faced it.


also have you tried without converting in intelxdk without using the cordova special stuff?

i used that one time... fked up my app i moved away from it. and since then i never had issues. however i never used ingame ads.
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Mon Jan 02, 2017 3:29 pm

gamecorpstudio wrote:Have you tried to change the fullscreen mode to leterboxscale instead of leterboxinteger?

i never had this problem with intelxdk... seen people having it... but in R239 and R240 never faced it.


also have you tried without converting in intelxdk without using the cordova special stuff?

i used that one time... fked up my app i moved away from it. and since then i never had issues. however i never used ingame ads.


I think I understood you correctly, you mean avoid using the Cordova plugins.
I just tried that:

No plugins cordova with crosswalk 19, 16 and 17.
There are no positive results.
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Mon Jan 02, 2017 4:14 pm

im building now a apk with a orange bg for android as intelxdk tutorial compiling should do, then il try one with the cordova package inside

im using the same size as you 400x240 and leterboxscale with landscape locked.

give me a moment.


Edited1: same results as you said on 400x240 its missing like 20 pixels each side... but then i guess the aspect ratio is not 16:9 or 16:10 ... that is the issue you have... that 400x240 it should be 480x260 if im not mistaken

let me add another 20 pixels and make it 420 x240


Edited2: yep so its the aspect ratio you need to follow the 16:9 or 16:10 what ever the size of 440 x240 is .. i did the test on the size of 420x240 and the margins are shorter then before, they now missing like 10 pixels ... so im guessing just increase the width of your project to 430x240 or 440x240 if that is not a big replacement for you project system, but its only 30 - 40 px difference shouldn't make a big of a difference. unless you have everything scaled down to 1 pixel movement.

@The-Mnk
430x240 should fix the margins... however to be more safe you can try 440x240

since i never seen a 4:3 aspect ratio mobile phone... maybe ipads or tablets are squarish.. but not mobiles...
Last edited by gamecorpstudio on Mon Jan 02, 2017 4:33 pm, edited 10 times in total.
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Mon Jan 02, 2017 4:15 pm

I stay expectant
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Mon Jan 02, 2017 4:35 pm

gamecorpstudio wrote:im building now a apk with a orange bg for android as intelxdk tutorial compiling should do, then il try one with the cordova package inside

im using the same size as you 400x240 and leterboxscale with landscape locked.

give me a moment.


Edited1: same results as you said on 400x240 its missing like 20 pixels each side... but then i guess the aspect ratio is not 16:9 or 16:10 ... that is the issue you have... that 400x240 it should be 480x260 if im not mistaken

let me add another 20 pixels and make it 420 x240


Edited2: yep so its the aspect ratio you need to follow the 16:9 or 16:10 what ever the size of 440 x240 is .. i did the test on the size of 420x240 and the margins are shorter then before, they now missing like 10 pixels ... so im guessing just increase the width of your project to 430x240 or 440x240 if that is not a big replacement for you project system, but its only 30 - 40 px difference shouldn't make a big of a difference. unless you have everything scaled down to 1 pixel movement.

@The-Mnk
430x240 should fix the margins... however to be more safe you can try 440x240

since i never seen a 4:3 aspect ratio mobile phone... maybe ipads or tablets are squarish.. but not mobiles...


Which leads to think that this is a bug in android.
I mean the loss of the full screen using 400x240.
It is not normal that the first time you run you have full screen but if you do "close all" then you lose the full screen.
I have to evaluate 440x240.
Thanks for the test!
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Mon Jan 02, 2017 4:38 pm

The Mnk wrote:It is not normal that the first time you run you have full screen but if you do "close all" then you lose the full screen.



no the first time i run the app i get margins i never get full screen ... the margins are there on my android phone from beginning doesnt matter what i do afterwards, is the resolution not being in the phones aspect ratio specifications, the only fix is to just enlarge the width of the project by 30 -40 px however you should use the default size 640x480 (which wold fill in for square tablets also not only wide screens.) or the half of it wold be 320x240 i should test that also on 320x240 this intrigues me also. cause a project at that small scale is much faster on android devices then a project above 640x480 like dramatically faster, and it only makes sense, less memory used to drawcalls.


Edit2: so i redone the test on 430x240 that fixes the margins, however now remains the 320x240(but this is 4:3 aspect ratio) maybe the smaller layout you need.
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Mon Jan 02, 2017 4:54 pm

Just to clarify something
I think there is a misunderstanding regarding what I mean when I say full screen.
I mean that the margins up and down are busy but on the sides there are some very small margins.
Conversely, when the full screen is lost, then the margins are also up and down and the sides are larger.

You can see it in the gif I put before. http://imgur.com/a/P4Xrq
When the yellow arrows appear the full screen is lost, when there are no arrows there is full screen but there are some small margins on the sides, those small margins I do not care but what I would like to solve is that you do not miss the full screen and get you run on all devices with full screen with these small margins at the sides.
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Mon Jan 02, 2017 5:26 pm

yes i get the same results, up and down margins are ok, but left and right are shrinking, that is cause of the layout not being the right size.

here is my capx 436x240 capx

here is my android versions on 436x240 for me no more margins apears doesnt matter what i do if i go out of app or restart it or do anything no margins only the 1 px from phone but nothing if i rescale/close/restart app.

also the fullscreen action doesn't work on mobiles... not sure if that is what your saying... its just the stretchtofill thing... even in preview c2 doesnt let you request fullscreen via browser plugin. but that is something i missunderstood for sure... hope the capx above and androids are working well for you .. and fixes the margin issues. if they dont... then i have no idea.

however i didn't updated my intelxdk, im still using 3641 version. and C2 r239
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

Post » Mon Jan 02, 2017 5:58 pm

gamecorpstudio wrote:yes i get the same results, up and down margins are ok, but left and right are shrinking, that is cause of the layout not being the right size.

here is my capx 436x240 capx

here is my android versions on 436x240 for me no more margins apears doesnt matter what i do if i go out of app or restart it or do anything no margins only the 1 px from phone but nothing if i rescale/close/restart app.

also the fullscreen action doesn't work on mobiles... not sure if that is what your saying... its just the stretchtofill thing... even in preview c2 doesnt let you request fullscreen via browser plugin. but that is something i missunderstood for sure... hope the capx above and androids are working well for you .. and fixes the margin issues. if they dont... then i have no idea.

however i didn't updated my intelxdk, im still using 3641 version. and C2 r239


In this example the full screen is maintained even if you close all applications in the background or do other things.
That's what I'm looking for but with 400x240 resolution.
Change the resolution on my project is very laborious, although at this point I don't know which is better.
B
31
S
13
G
21
Posts: 844
Reputation: 14,693

Post » Mon Jan 02, 2017 6:04 pm

The Mnk wrote:

In this example the full screen is maintained even if you close all applications in the background or do other things.
That's what I'm looking for but with 400x240 resolution.
Change the resolution on my project is very laborious, although at this point I don't know which is better.


you have to keep the 16:9 or 16:10 aspect ratio, basically 400x240 is around 16:11 which is a bit squared as aspect ratio... thats why if you search for mobile screen resolution you will probably get recommendations of a ratio 16:9 or 1920x1080 ... its the easiest fix to do... just rescale the project by 36 pixels. or 40.

its a inconvenience but this is how mobile screens are done.. :(
B
78
S
23
G
69
Posts: 1,354
Reputation: 44,027

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: faulknermano and 7 guests