Sisyphus's Forum Posts

  • Hello, everyone, I'm trying to build my games in hours Ludei, but it gives the following error:

    "Something went wrong during the compilation of your project

    Plugin(s) found in your project

    - org.apache.cordova.inappbrowser

    The command 'build' failed."

    I exported using the option Cordova, send the .zip file to the Ludei site.

    In project information: marked the Cordova option, and filled out the standard fields.

    In compile project: marked Android.

    Run using = System WebView

    Compiler version = 3.5 and 3.6

    No works, does anyone know what's wrong?

    You build with CLI, or with cloud compiler? I'm not sure about CLI support in c2. Better try webview or webview+ 2.1.1 in cloud compiler.

  • What is the best way to put a "loading" between Layouts?

    I created an invisible layer with the Loading img.

    When I click the btn to load the layout I show this layer.

    But it is not working as I expected. The layer has a animation that stop when start loading the layout that take few seconds do load in iPad.

    Yeah, i hate this, we really need some stuff like a loader layout between the layouts or maybe a loader layer that will not stop while loading the next layout.

  • Right click on Animation Frames window - Import Frames - Import your image. All images added this way have collision polygons set to bounding box.

  • Maybe a system date and time plugin.

  • I reported earlier an issue with the debugger showing 2 object types for the one object (same UID), and now I'm seeing more weird stuff.

    I had an issue with a layout where ScrollTo wasn't scrolling, and also a background image wasn't displaying. So I just duplicated the layout and used that instead, and both issues went away! I did a diff between the 2 layout.xml files and the only differences were uid and sid values.. So how does that work? It's the second layout today I've had to do that.

    tldr: issues with layout; duplicate it; issues go away

    Better report it to a bugs section, i've recently reported a bug with "Reset persisted objects" that cause objects to duplicate(with uid), maybe now something else broken, but now it's not an action, maybe now it's something in the engine that resets or spawn the objects.

  • Yup, as soon as they manage to fix the LocalStorage issue and add AdMob for WKWebView, we're good* to go for iOS with even very complex games.

    *The micro-stutter is at a level that's acceptable for most players in my experience. I've got many correspondents on TouchArcade forums and even a few reviewers commented on how fluid combat and touch response is on iOS.

    Lol, i got an email, they just have a little mistake, they fixed the "clear on startup" bug, but not fixed clear on low memory. So, you can recompile your game with 2.1.1

  • It's probably unrelated since it may be a specific issue with the WebStorage plugin, as in, CJS didn't test C2 WebStorage but test their own LocalStorage. Just remember that CJS is used for many different engines, not just C2.

    They broke compatibility with C2's WebStorage plugin in 2.1.1

    They post to another thread that the c2 webstorage problems are fixed, looks like not all problems. Anyway, thanks for the reply.

  • Sisyphus

    It's only for CJS 2.1.1 which is not useable due to a nasty bug with WebStorage (LocalStorage) being reset at each start up. I don't even know how they got it through QA.

    Only CJS 2.1 is good, I hope they put that fix into 2.1 until they figure out whats wrong with 2.1.1 clearing save data.

    WebView+ for Android is similar to Crosswalk, but without the option for 3rd party plugin integration as easily.

    You tried it? Webstorage still cleared on every startup? I can't understand what they fixed then. They fixed the "clear on low memory" bug, but not fixed "clear on startup", right?

  • Paradoxally when CocoonJS was deprecated by Scirra,

    ludei started doing really good job

    Canvas+ was deprecated, webview+ is supported, technically, r192 supports cordova export, webview+ based on cordova so webview+ is supported.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Our new AdMob plugin will be adapted for C2 and you will be able to use it in Webview+.

    Great news, this webview+ for iOS is so great, i hope i can publish my first ios app using it, and then will wait for admob. Thanks for an answer.

  • Sisyphus I doubt it will work. I think I heard somewhere that they are working on providing their own direct support.

    I see here, that support for admob without mopub is meant to be, but these guys are talking about the other plugin, not c2's, so i thought maybe ludei can tell us how can we make c2's admob plugin work with webview+.

  • About the Webview+, we have just fixed the webstorage issue. It should work fine now after recompiling the project.

    Hello, i'm sorry if that's not the right thread, but i'll ask while i had the chance Is there any way to make c2's native admob plugin to work with your webview+?

  • Hello

    About 20 minutes ago i got an email from ludei, an answer to a question here, it seems that this issue is fixed. Please reply here if it's really fixed, and if old webstorage data is not missing after recompile, when you try it.

  • FYI none of our official export options support WKWebView right now, in particular because it has bugs that prevent Cordova supporting it, so it sounds like you're using an unsupported export process anyway?

    Waaait, i'm using wkwebview based ludei's webview+ in r192 description you said it's supported.

    [quote:cmevmwkz]CocoonJS Webview/Webview+ is Ludei's Cordova-compatible build system.

    Even if it's unsupported, i'm not talking about a bug, i'm talking about a missing features.

    a condition to test if a save exists, and an action to delete a save are still something people can expect to find by themselves rather than having to build it with the webstorage (some people say it is not hard, true, but it is just troublesome and feels like a feature incomplete, the same way being unable to reset persistents objects was).

    Yes ! That's what i wanted to say, using webstorage just looks like overkill.

  • If it's an Apple bug then hopefully Apple will fix it.

    The problem is not only in the bug, i just thought it's a lot easier to put a condition to test for saves existing, than to create a check system based on webstorage. As for bug, yeah, but it will take months, it looks like they don't really care about their WKWebView, so maybe in worst case they wait before next major iOS release (9?) before fixing tons of bugs in it, who knows.