Rable's Recent Forum Activity

  • Just tried purplemonkey 's solution and sadly the bars remained black in the simulator, even though they are white when previewed in C2. :(

    Asmodean , could you please tell me where I could find that config.xml? I found a cordova folder on my C:/ but it contained a config.js, no config.xml. And the config.js didn't contain something similar to preference name.

    Do you confirm there are 8 "f" in the line ? (I thought it was 6 for hexadecimal, but I don't know much about programming so if you tell me it's 8, I'll put 8 of them :) )

    Thanks a lot, guys! Your help is much appreciated!

  • Thanks a lot, guys! :)

    I'll try all of this and hopefully end up with a working solution. I'll keep you updated in either cases. ;)

  • Actually I didn't try in Safari. It's a bit complicated because I do not own a Mac, so I'm doing everything via my publisher's Mac via AnyDesk which allows me to control their Mac from a remote location with horrible response time.

    I just clicked the index.html file in finder (on the Mac), and all I get is a white screen, but isn't it the expected behavior given the file has been exported with Cordova? I get the same type of behavior in Chrome from my PC.

    Or maybe did you mean something else by "trying in Safari"?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the suggestion, Asmodean !

    Sadly, the result in the Xcode Simulator is exactly the same... Actually, even the additional white margin at the top of the image is still there, while I removed the previous code. So I may definitely be doing something wrong. Or there is something I don't understand, such as cache from previous import of the same folder in Xcode, but it would be definitely weird.

    I'll rebuild the project completely and start from a fresh index.html file just to be sure.

  • Thanks for the reply. I took a look at the topic, but if I understood it correctly it implies using letterbox integer scale, and I definitely need letterbox scale.

    I just need those black bars to be white on iOS (on Android I managed to do it already, but on iOS for some reason it doesn't work so far).

  • Thanks for your help, newt

    I tried it (by replacing #000 by #fff) and the only difference I saw was that the whole game was displaced maybe 20 pixels lower and a white bar has appeared on top of the image.

    (image from Xcode's simulator, as you can see there's an undesired white bar on top of the image, but the borders are still black)

    But that's not at all what I wanted to do. (having white bars of letterbox scale instead of black ones).

    Maybe I put the code at the wrong place in the index.html file? I placed it below html, body {

    I know nothing about HTML, so maybe I just didn't do what you intended?

    Just as a side note, your first solution worked really well for Android,but sadly I only need it for iOS. :(

    Further help would be greatly appreciated.

  • Hi,

    I used the solution newt proposed to change the background color. I just changed "background" and "color" in the index.html file from 000 to ffffff.

    However, it doesn't seem to work on iOS. When playing the game on iPhone, the letterbox scale bars are still black instead of white and I can't manage to change them.

    Any idea of what I could be doing wrong? Is there an option in Xcode to change that background color?

    My export process is Export via C2 (Cordova), then C3 export manager, then build using Xcode.

    I really need to put these side bars white...

    Thanks in advance!

  • thanks Rable - try this version

    Wow, the problem is already fixed! Thanks a lot for the super-fast update! :)

  • Great news about the C3 runtime beta plug-in! Thanks a lot for that!

    I've finally been able to switch to the C3 runtime thanks to it.

    Bug report: I'm using a lot of transparency in my sprites, especially on the borders of the image, and the transparent areas seems to be blackened somehow. Here is an image showing you the correct version on the left (C2 runtime) and the bugged version on the right (C3 runtime).

    Don't pay attention to the background which isn't 100% the same, just look at the black "outline" around the arm, hand, and every separated part of the scml object.

    Thanks again! :)

  • Hi everyone,

    I export my game through C2's Cordova export, then using C3's export manager, then in Xcode to create an iOS .ipa.

    The problem I have is that the status bar stays visible even though I asked C2's export option to hide it (in the Cordova options). Is it a known bug, or did I do something wrong?

    I can't release like that, so any help would be greatly appreciated!

  • Thanks a lot for the info, I'll try to see how to do this.

    Ashley

    For your information, the Cordova export option "Hide Status Bar" doesn't seem to work in C2 - iOS. The status bar is still visible after being exported with C2 (Cordova) + C3 export manager.

    Is there a place where I could report C2 bugs?

    github.com/Scirra/Construct-3-bugs ?

  • Hi everyone,

    I exported my game to iOS, but I have several testers telling me that they sometimes have the black status bar visible, even though I asked the game to go fullscreen (and the game is correctly fullscreened on every other device). Sometime it is hidden, sometimes it is visible.

    Any idea what I'm doing wrong?

    Thanks !

Rable's avatar

Rable

Member since 6 Aug, 2014

None one is following Rable yet!

Connect with Rable

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies