roke's Forum Posts

  • Hi,

    How can I save position of sprite in webstorage, is it possible? So it's in the same place when user comes back to the game, until he or she movies it again.

  • Problem was phonegap version 2.6, it has a bug that breaks persistent saving, it should be fixed on version 2.7. So better use 2.5 until then.

  • Just tested on another phone, it works on android 2.3, but on latest android, when I exit, the webstorage doesn't save?

  • Hi,

    I'll look into that, but right now, it doesn't save webstorage even without admob.

    Is there some setting on local build that I should change? config.xml or?

    Ninja Fart Hero is great game by the way

  • Hi,

    In compiling in phonegap cloud the webstorage works perfectly, but when I build the app on computer with eclipse and phonegap it saves values only while the app is running, but when I exit and come back the values are not saved.

    Is there something I need to add to local construct2 phonegap export code to get it working or am I missing something?

    and I build phonegap locally because at the moment it seems the only way to add mobiads, since ludei ads work only for premium members and phonegap cloud doesn't have that option yet.

  • Thank you everyone for support and nice words and just everything,

    it's OK and well the software is great and I enjoy working on it even better than I ever did with flash.

    Thanks again!

  • Bought construct2 yesterday after looking that they aren't planning any promotions on the product.

    twitter.com/Scirra/status/323725067215335426

    and today, less than 24 hours after I bought it, there suddenly is spring sale.

    FUUUU!!

  • Worked great,

    only thing it didn't mute was looping sound for some reason, but I managed to workaround on that issue.

    Thanks!

  • Thank you,

    I'll go and test your method and post results later

  • Hi,

    I have problem with sounds, I have sounds on and off button on one layer and it works when I toggle the sounds on and off, but when I go to play screen the sounds come back on because play layout always resets all global variables.

    How can I reset all the variables except the sound?

    Or is there some other way to get it working?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nevermind, I managed to workaround the problems.

  • Hi,

    I'm testing things on Template infinite jumping to learn how it works.

    Now I have 2 problems,

    1, how to get a background, now it vanishes when player jumps higher?

    2. I put random coins on top of platforms, but they come on top of every platform, is there a way to get them randomly on maybe half of the platforms?

    I use the same code to create coins as the platforms and then set position to platform.

    System create object Sprite coin

    layer "Game"

    x random(5, LayoutWidth -40)

    Y ViewportTop("Game")

    Thanks any help