Sisyphus's Recent Forum Activity

  • 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+.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Hello Ashley

    I have a problem with my game which use the savegames, when i save the game, i post some data into the webstorage like save name, and that save is exist, it works fine everywhere, except apple's WKWebView, i guess you know that it has some troubles with a webstorage, like clearing it randomly or when user goes out of memory, so when it clears, save stays, but data from webstorage that tells that save exist is gone, so users can't load their savegames anymore.

    So i thought, if it's not very hard for you, you can just add a condition to a System's Save & Load section? Something like "Test if savegame exist"? It's gonna be a lot better than this webstorage tricks. As i understand, it's an Apple's WKWebView bug, something about cookies and local storage, nobody knows when it'll be fixed, so you are my last hope.

  • About Android: I have just found some blog post from the end of the 2013.

    "The KitKat WebView is based on Chromium 30 and it won’t be updated. That means you are stuck with it unless to get an upgrade in the future of the whole OS to next version. Even Google has announced OS delta updates without vendors’ intervention, but it seems the WebView will not get that deal yet. Therefore and based on Chrome release cycle, in one year we will have Chrome 40 and the WebView will still be in 30."

    http://www.mobilexweb.com/blog/android- ... me-webview

    Only android 5.0 and greater can get updates of webview from google play, wait for a year or 2, now there's no hope for android's webview.

  • Voila! File saving and loading.

    Wow! Thanks man, i searched for saveload via files system so long, but not for arrays, for simple c2's saveload system, now it works!

    Here's an answer for your extra question i guess - How do I cover the File Choose button with a sprite?

  • on YouTube movie I see smooth movement, on Android (even when I switched to ART) I see jumpy movement. I guess that many players think that it's the way it should be (because your game has nice, old school feeling). Anyway: how do you use WKWebView? Compile game with PhoneGap?

    Phonegap doesn't support wkwebview for now, they have some kind of a plugin for a local webserver to run wkwebview and some other plugins, but only in pre-alpha versions, they are waiting for a fix of a bug where wkwebview can't load local files. Ludei webview+ is a wkwebview, works damn good, but i heard that saveload and webstorage can be cleared there randomly.

  • Yeah, something like an "unload from memory" sprite action, or system - "unload unused images" will be really helpful. It's annoying to restart a layout everytime when i want to destroy a heavy sprite and spawn another.

  • And bug with the spawned objects.

    Run preview

    Double click somewhere to create PersistedObject

    Reset persisted objects and Restart layout

    See that the spawned objects are gone(as they should, because initially they are not exist)

    Restart the layout again and they are back

    This can't be avoided, i tried reset - restart - reset - restart, spawned object destroys, but if i have objects that initially exist like the one in the attached capx, they are still become duplicated on restart without resetting and this means that after first reset, on every restart of layout i need to reset the persisted objects again, but if i want to just restart the layout?

Sisyphus's avatar

Sisyphus

Member since 16 Jan, 2014

None one is following Sisyphus yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies