canvas resize iphone 6 and 6s

0 favourites
  • 2 posts
From the Asset Store
Simple resize and rotate events for any sprite, quick and easy event sheet that you can use for your own projects.
  • Iphone 6/6s set canvas size problem

    ____ So i have been working for some months in this project and am currently testing it on different devices .The problem i have encountered here does not happen on facebook app canvas , on android devices and on iphone 5 and 5s .This only happens on iphone 6 and 6s ... (i don't know about ipads since i don't have one to test it ) . I totally know that Iphone 6 and 6s are not a huge part of the market but i cant really send the app for review to apple if it does not work on those two devices and potentially more apple smartphones that i haven't tested . Also im not sure if i should post this as a bug here but honestly dont know where else to ask for help . The bug happens only in one of the layouts when i resize the canvas , on iphone 6/6s after the resize event it zooms the view to what basically is something to close 1/4 of the intended canvas size and it is positioned on the top left corner of the intended canvas view ... now what is confusing me is that the same problem does not repete on other layouts when i use the ''set canvas size'' action ... to test this even further i created a capx file called layouts where i specifically test ''set canvas size'' action triggering it in different ways and when i test this through the same process on ( intel XDK ) in none of those layouts i encounter the same problem . so in both capx files and in 5 layouts where the ''set canvas size'' action is triggered the bug happens only on one of the layouts . ____

    Attach a Capx[prob i6]

    ____ https://donchupacabra.bitrix24.com/~srHBG

    Description of Capx[prob i6]

    ____ This is my games Capx file but with all the assets taken out in stead i have replaced the background with an image that is supposed to indicate if the bug is happening or not ( when you can see only 1/4 of the picture than the bug has happened ) and you will see this on the "Run"-called layout of this capx on iphone 6/6s ( the bug happens even when tested through intel app preview ) i havent tried recreating a new layout and importing all the sprites with their correct sizes and positions because it would honestly take a really long time that i dont have . ____

    Export process : prob i6.capx

    Minimize script (No) ,,, Use WK Web View ( Checked or unchecked , does not seem to fix the bug ) ,,, export to ios 9.0+ (makes possible for widget plugin to work on xdk ios) ,,, on XDK > fullscreen checked ,,, view orientation portrait , minimal api ios 9.0 .

    Attach a Capx[layouts]

    ____ https://donchupacabra.bitrix24.com/~oxkGJ#

    Description of Capx[layouts]

    ____ In this CapX i have tried triggering the same bug from canvas resize acrion but it does not happen in any of them(tested also in all devices) ... instead i encountered some thing weird too in this file ...( when you open this cap x and go on layout called "l1" after it resizes the canvas it sets the WRONG SIZE *seems to respect only the ratio* , and you cant go back touching the 'back' text*seems frozen* ) but this CapX is not my main concern as it is only for testing purposes ____

    Observed Result[prob i6]

    ____ on ''Run'' Layout on ''prob i6'' CapX after few seconds from start of layout , i trigger set canvas size to 700x1194 and it shows me only 1/4 of the intended view , top left corner ( happens only in iphone 6/6s) ____

    Expected Result

    ____ i want the hole picture to be visible like it happens on android , faceboook , iphone5 and iphone 5s ____

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (i dont know)

    Operating System and Service Pack

    ____ W 7 sp3 ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using beta release r230 ____

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The "zooms to top-left quarter" symptom sounds identical to this iOS bug: https://bugs.webkit.org/show_bug.cgi?id=154819

    Closing this report on the assumption it is the same problem. This is a bug in iOS itself that needs to be fixed by Apple.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)