kentoy's Recent Forum Activity

  • Use the 'Clear storage' action of the Local Storage object.

    Thank you I will try!

  • Ashley, hi do you know there is any way?

  • Please anyone know? In our game we make sprite to download image using download imgae from url, so we want to clear the cache and also the coockie of our game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On Chrome it's under history > clear browsing data > cached images and files. Other browsers have a similar kind of thing.

    Sorry, but I want to clear cache and cookie in game, not make the player do that. I want some thing like a behavious of browser object or a plugin.

  • How do I clear browser cache and cookie? I want to clear my game's cache and cookie. To make sure that all the images and data load using load image from url could be fresh.

  • Hi,

    I put my game on the server, and make my url link to the game. For example: mygame.com

    And then I want to replace the game to the lastest version.

    But after I replaced the new version, I opened my browser and go to mygame.com, I found the browser still load the older version from cache.

    Is there any way to make the game updated without change the url? Because some player will save the url, and we can not change it anymore.

    Thank you!

    Tagged:

  • I just tried it on my old iPhone (iOS 12.0.1) and it worked fine.

    Yes me too, it works good on my iPhone6S, iOS 13

  • It can be. But then your game will simply not start, so you don't have to worry about this :)

    Aha, so it mean if the JS is blocked by the browser, the whole game made by Construct2 can not work on it?

  • > Text variable base64text
    
    Set base64text to Browser.ExecJS("btoa('some text to encode')")
    

    Do you think the JS will be blocked on some browser? Like Safari on iOS?

  • > Text variable base64text
    
    Set base64text to Browser.ExecJS("btoa('some text to encode')")
    

    Great! Thank you buddy!

  • With the Browser object and the javascript btoa() function:

    base64encode.capx (r140)

    <img src="https://dl.dropboxusercontent.com/u/8367729/construct/pics/base64encode_1.PNG" border="0">

    <img src="https://dl.dropboxusercontent.com/u/8367729/construct/pics/base64encode_2.PNG" border="0">

    I'm pretty sure there's a 3rd party plugin that does it as well.

    Hi would you upload the solution again? the dropbox link is not working anymore.

  • Up please, i need it :/

    P.S: Please don't tell me to use Ajax GET/POST to encode my string using PHP.

    I very need to encode directly in Construct 2.

    Hi would you upload the solution again? the dropbox link is not working anymore.

kentoy's avatar

kentoy

Member since 21 Sep, 2017

None one is following kentoy yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies