annerosas's Forum Posts

  • 4 posts
  • Hello,

    I have downloaded the new beta release r236 and have exported the project with Cordova. But I'm still getting a black screen on intelXDK when simulating the app on iOS.

    While the project works great on Android, it doesn't seem to work at all on iOS. To make sure that the problem was not coming from my project, I have even exported a Template project of Construct and I'm still getting the black screen.

    I have tested the project on my iPhone 6 (ios10) to make sure it wasn't just a simulation problem but it also shows a black screen. And shows this message "Error feching data.js". On my iPadAir (ios9) loads without problems.

    I would appreciate if you could please help me solve this problem

  • I was revisiting the topic and after a long research I came up with a great way to adjust the font size according to the screen size and make sure it looks great in all the resolutions.

    You should disable "auto font size" and then set the CSS style to property name="font-size" and value=2.5&"vh".

    "vh" sets the size acording to the height of the viewport. You can change the 2.5 unit of the example for the number that better works for you.

    I have try it in 7 different devices and looks great in all of them!

  • The function that C2 uses is written in the c2runtime.js, am I right? If I'm right, it will work because the browser will get the new c2runtime.js before any other action, it will download before rendering the view.

    Thanks! It works perfect!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I had the same problem as you guys and I have managed to find the solution. You have to go to the folder where Construct was installed in your PC. Then, go to > Exporters>html5>plugins>textboox. And you should open the file "runtime.js".

    In the script, you should find a place where is says the following:

    if(this.autoFontSize)

    jQuery(this.elm).css("font-size", ((this.layergetScale(true) / .....

    You should edit this text and place the following:

    if(this.autoFontSize)

    jQuery(this.elm).css("font-size", (((2*this.layergetScale(true)) / .....

    The method consists on editing the plugin so that it can increase the size of the text and then it will continue to resize depending on the layout scale.

    IMPORTANT: You should close your project and when you open it again, and you press RUN, it will work.

  • 4 posts