RBuster's Recent Forum Activity

  • I never tried it, but I don't think that makes a problem, because WebStorage and LocalStorage uses different places to store their data.

    But be careful, session storage from WebStorage only lasts with the current browser session, you have to use local storage from WebStorage.

    https://www.scirra.com/manual/120/webstorage

    Ok. Thanks.

  • Asmodean

    Do you know if I can use both? WebStorage to store the array and LocalStorage for the remaining data?

  • RBuster

    'Local Storage' in Construct uses IndexedDB and it seem iOS has still some problems with it:

    https://gist.github.com/nolanlawson/08e ... 17a30c1b26

    Have you tried the deprecated WebStorage? Maybe that works.

    I thought about using WebStorage but I was afraid just because it's deprecated. But if it's the only solution available, I'll give it a try.

    Thanks Asmodean

  • It's not that problem. I had that problem in my game on iOS with with iOS8, it would wipe out localstorage when user device run low on disk space.

    That will always be a problem with iOS due to the OS itself having permissions to destroy non-system generated files.

    This bug is a new one. LocalStorage works FINE on Safari on iPad Mini 2 for me, does not work at all on Safari on iPhone 6 Plus. Same OS version, the latest.

    In this case, what kind of solution can I use to replace the local storage? The iOS version of my game was ready to be released.

  • I only tested with Safari preview over wi-fi, I noticed iPhone 6 Plus would not save LocalStorage properly.

    Did you use XDK or CocoonIO?

    Intel XDK. I never used Cocoon.

    Bad news. I found it: http://gonehybrid.com/dont-assume-local ... ybrid-app/

    Can I use SQLite with C2? Is there another solution to store data?

  • Arrays stored in LocalStorage keys as a JSON?

    Exactly. If I use the dictionary, it would change anything?

    [quote:3brix296]I do that too, it works fine for Safari on iPad Mini 2. But I did notice on iPhone 6 plus, it would reset. No idea why.

    I've iPhone 6 and surely it affects this version too. Is there anything I can do to fix it or do you think it has no solution?

  • I have the exactly same error message.

    Without that WKWebView plugin, performance falls back to standard UIWebView, and it's horribly slow.

    I'm using r217, so I don't think it's a 223 issue.

    ?

    Maybe Intel were testing this plugin. I talked with Paul F and AFAIU the plugin will be present in the next XDK update.

  • I remade the whole level menu to try to figure out why it's happening, but the problem still persist. Maybe if I use the Dictionary instead the Array this problem can be solved. I don't; know. Could anyone confirm it or, if is possible, give me some suggestion or point me the possibilites? I really appreciate any help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • RBuster - the screen scaling sounds like this bug which should be fixed in the next build.

    It's good to know that. Thanks, Ashley

    [quote:1jasney2] I'm not sure what could have affected building for iOS, please file reports if you have any more issues.

    I got this error when I built the IPA trough XDK:

    Error: Plugin "CordovaWebServer" failed to install.

    Error: Plugin "" failed to install.

    Error: Could not retrieve plugin dependencies for WKWebView Poly '.

    Error: Plugin WKWebView Poly failed to install.

    I've to remove it from the plugin management. First I thought it was a XDK problem (despite not having any XDK update recently) ), but when I've exported the files from C2 again, this plugin wasn't inserted in the plugin management as happened before. So I thought that it's something related of C2.

  • Something wrong is happening with the local storage with my iOS application. I'm using it with array to manage the game levels.

    After playing a few levels and close the game, when I open it again, part of the levels that has been completed appear blocked again. This issue doesn't repeat frequently and neither in the same amount of levels (I counted 5 / 7 / 14 levels for example). Sometimes it also happens when the game returns to the levels menu. The major problem is that it doesn't happen with chrome/nw in the preview mode on my computer.

    I know this is a specific question but I've to ask if anyone have this same issue because I don't know more what to do, mainly because I can't simulate the error in the browser. I've some iOS application that use Local Storage and are working very well, but none with arrays.

    Thanks in advance for any help/suggestion.

  • Won't build, failed to install the WKWebView plugin that XDK recommends: https://github.com/Telerik-Verified-Plugins/WKWebView

    Also failed to install the Cordova dependency, WebView Server.

    Le-sigh.

    It's happened after the last Construct 2 update (r223) and I don't understand why. I had to delete the WKWebView from XDK plugin management tool to be able to build the IPA. Also after this update sometimes portion of my screen is magnifying and I've to restart the app to play the game again. Maybe Ashley could explain about theses issues, including WKWebView.

  • The more deep I dig into Godot the more excited I am.

    Here is a really

    Subscribe to Construct videos now

    Super cool!

    Thanks for all the tips. I knew about Godot but I never spent much time to figure out how it works. Now, after read your posts I started to learn Godot yesterday and I really liked.

    I believe that learning a simple scripting language is a easy entry to more complex coding. As you said the principles are the same. Learning new things is always wise because all knowledge is somehow related. Simple scripting could be easily compared to Constructs eventing.

    Subscribe to Construct videos now

    Wow! It's a realtime preview. Awesome.

    This is the thing which always scared me out from GameMaker. Their own script language. And now Godot has their own one as well. It would be much better if they use some popular language. There are so many languages out there why to make another one?

    When you spend your time to learn the popular language like JS, C# (w/e) then you still have some skills in hands even when you quit the engine. And now when you spend months mastering their own language, you are left with no power once you quit.

    GDScript is based in Python, so it's not really a new language. It's just adapted their own needs. They talk about it in the tutorial.

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies