Farsight's Forum Posts

  • Checked this thread, but still can't understand if it's possible to set JSON file to handle a single big sprite sheet with multiple animations in it?

    For example, to slice each row in a big spritesheet as separated animation.

    So i importsprite sheet like this:

    And as a result, I get 3 separate animations.

  • Ashley any suggestions about this authorisation problem with Google Play?

  • Minidayz is a really awesome game, when i was younger i played once a similiar game and always dreamed about to create such kind of pixel art game.

    i wonder if the Android & iOS version is also made with Construct 2?

    Yep

  • 1-use lastest cordova Cli for android + crosswalk (because intel xdk is using old crosswalk)

    2-there is a tweak to modify on the config.xml or additions.xml files so you enable force gpu blacklist

    Hi, can you say is the tweak is to modify config.xml ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Same here, after some day save/load do not work on Chrome.

    Someday ago i solved the problem by using the clear local storage action, but it doesn't work anymore, the storage is cleared but the save/load is still not working.

    I tried to deleted manually the files in the chrome folder, no effect.

    i found now only that in private tab all works fine. at least for now.

  • Ashley , Also broken in Opera after using c2 defaut "clear storage". Looks like not only i have this problem. Reboot not helps.

  • Problem Description

    Localstorage in preview broken if you "clear site data" in chrome. Even after relaunch it not working again.

    Its really annoying im now forced to test everything in Opera instead.

    Attach a Capx

    Any

    Steps to Reproduce Bug

    • Run any capx with using of Localstorage in chrome
    • Open dev tools(f12)
    • choose Application tab
    • on the left panel choose "Clear storage"
    • Push "Clear site data" with all checkmarks on

    Observed Result

    After that data to localstorage not saves anymore in preview even after relaunch chrome/preview/construct

    Expected Result

    Its must only cleared or not affected at all.

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    Win10

    Construct 2 Version ID

    r244

  • I figured out a workaround using the mirror behavior. In retrospect it's more efficient anyway.

    Hi, can you share the solution?

  • Hi, Ashley do you have in plans update for AdmobAds plugin to implement rewarded videos? they added this feature it not so long time ago.

  • Measure angle of sprite or stick direction, and when between angles 90 and 270 for example flip sprite.

  • How many slots do you have?

    Can you choose which slot to save in?

    You may have to add a 'delete save'. I don't use saves so i may be pulling this out of thin air. I would look at something like:

    Creating a 'clear storage' button. On touched button (delete save) then choose which slot you want to delete. Again, i've never used 'save game' or anything like that, so i'm not sure of the logic that goes with it.

    In my game i have 2 invisible objects, that when touched in sequence will clear my entire storage. This is only for testing purposes, but still in that general area.

    I have 3 slots now, i use default construct save/load. It places savegames as JSON in localstorage separated place that cant be erased by default construct 2 "clear storage". Default construct save/load function dont have any save erasing functions. Is i right Ashley ?

  • Did you make the game or did you just download it?

    Make. My current save is about 2mb usually, but in some cases when i try to resave in same slot(on mobile) i got save error.

  • I have an app on mobile (made via cordova in webview). And couple of savegames. This savegames are too big so i need to erase old ones somehow because it exceeds localStorage/indexedDB limits. Is there any legal way to do it?

  • Best way is to place healthbat in container with a monster so when monster dies all container items destroys too. To add hp bar to container select monster sprite and in properties find "Container"-"Create" and select HP bar. Also using this way will allow you to pick corresponding hp bar for the exact monster in events. And in "on create" monster sprite you can add parameters for hp bar at same event, corresponding hp bar will be picked, like pin it to monster sprite.

  • Hi,

    i use default construct 2 save/load feature in my project. Its mobile game exported via cordova for iOS with webview. As i spot "save failed" appears in game from time to time. Only on Mobile. On PC via web all fine. Its like short periods of time when game cannot be saved and error occurs, and then after some retries its saves successfully. Maybe someone knows what it can be? My save system now work as save each 90 seconds in one slot with overwriting. So i use only one save slot, save usually is up to 2 megabytes. So im not exceeding memory limits for localstorage for savegames.

    In logs i see that sometimes save fails for some reason and when i try again it fails again. But after maybe 10 seconds or something its saves again successfully.

    So the question is what else can affect on successfull of saving game? And is it any way to detect what exactly happened that save failed? Ashley ?

    Or maybe someone faced problem like that?