COGames's Recent Forum Activity

  • I'm a terrible artist and am looking for sw to create cartoon-like sprites (for kid games). Anyone know of anything?

    I saw a post here for 2D Spritor, but it seems it's so new that clothes aren't available (and that's very necessary, lol, for kid games ).

  • Thanks, flemmig! When I saw your post about the solution no longer working, I wasn't very happy. I'll give your solution a try

  • Is there a way to share local storage between separate construct2 games?

  • [quote:30229271]C2 is already a giant While loop, So you don't need while at all. get rid of it and add an Else to the event for the NOT case.

    What if this check is inside a triggered event? Then it isn't a part of the big C2 while loop.

    Example: When a triggered event happens such as a ship is destroyed by a laser, you want to spawn a new ship in a random spot, but you don't want it to overlap another existing ship. So you just do a while-loop to keep creating the ship until it's not in a spot that's overlapping.

  • Keeps getting hung up. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    capx: https://1drv.ms/u/s!AobC4q3rBlr6itBTdWySnTV6BE4Pmg

  • Okay, so export the games with WKWebView mode selected when exporting with Cordova, and then, in Intel XDK, add the plugin for WKWEebView. Is this right?

    I did this and now my app running on my iPhone6 with iOS10, as well as my iPad2 with iOS9. The only thing is that I am unable to load the app via Intel's App Preview (I get "Error fetching data.js"), but it loads fine on the iPad. I guess this is Intel's problem?

    Just wondering now, the apps that I redid by changing the lines I mentioned in my previous post, how would they try to run in WKWebView mode? I didn't install the pluggin for that, so I should be good with those right? I should just use WKWebView in the future because it has better performance - right?

  • In c2runtime.js replace:

    this.isWKWebView = !!(this.isiOS && this.isCordova && window.indexedDB);

    With:

    this.isWKWebView = false;

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It was a quick fix, here it is:

    In c2runtime.js replace:

    this.isWKWebView = !!(this.isiOS && this.isCordova && window.indexedDB);

    With:

    this.isWKWebView = false;

  • Well you guys are lucky - I'm having problems.

    I'm going to list my steps for anyone else going through this, maybe we can get somewhere:

    I basically made a C2 (R233) project that is as simple as can be (just one sprite that you press to display text), exported with Cordova (did not have any permissions selected, such as "media") then started a new Intel XDK project (made sure to have the latest XDK) selected the project.

    First problem: Upon importing HTML5 code, I get the error: "Error creating project: Import directory contains Intel XDK files". I do see an XDK file in the Cordova export directory, so I simply delete it. Then the project loads fine into XDK. In XDK, I select the tab to "test", I then select the button to push the files to the testing server and read the QR code from the App Preview app on my iPhone 6 and iPad.

    My iPad (not ios10) loads the app fine.

    My iPhone (has ios10 installed) gives the message: Index.html Error fetching data.js

    This happens when I export cordova with and without the WKWebView selected.

    Edit to add: Got instruction from the XDK forum to change a line in the c2runtime.js file, which worked (as far as getting the program to run on using XDK's "test" with the QR code and app preview app. I haven't tried it yet downloading from iTunes. Here is the line change:

    Replace the line: this.isWKWebView = !!(this.isiOS && this.isCordova && window.indexedDB);

    with the line: this.isWKWebView = false;

  • CDogs1964 - I created a new project and used the App Preview. It worked on my iPad (not iOS10), but not on my iPhone (ios10). So it seems the new project isn't the fix (at least for me).

  • chrisnewman - I'm having the same problem. I think people are just starting to download iOS10 and are just noticing that some apps aren't working. I just received an email from someone who bought my app, so I did a search and found that there are others with this problem. I just downloaded iOS10 on my iPhone6 and confirmed (sadly).

    Did you try this yet?

    (https://forums.adobe.com/thread/2167432)

    "Panic over, got it working.

    Just needed to add gap://ready and also file: to my Content-Security-Policy for the default source

    <meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file:; style-src 'self' 'unsafe-inline' *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *">

    Hope this doesn't hit anyone else who doesn't update their app before iOS 10 is released."

  • Just got an email from someone who purchased one of my apps - black screen on all devices using iOS10. This is going to be a nightmare

COGames's avatar

COGames

Member since 20 Dec, 2015

Twitter
COGames has 2 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies