AndreasR's Recent Forum Activity

  • Hi,

    You have to perform a "Check item exists" before the "On item exists will be triggered.

    So add an aciton on the start of the layout "Check "Settings" exists".

    If so, it will be loaded from the LocalStorage, if not, then not.

    Regards

  • Nice! I was just about to look into building with Cocoon and testing it out, so this will help out a lot! Thank you!

    You're welcome, I'm glad to help

    Great. Thanks AndreasR.

    You're welcome

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys,

    I released a tutorial and free capx example showing you how to build your games with Cocoon.IO.

    Tutorial: https://www.scirra.com/tutorials/4851/c ... h-cocoonio

    Let me know if I missed something.

    Regards

    Andreas

  • this is version 200

    https://www.dropbox.com/s/4yfw5s6zmokop ... .capx?dl=0

    i'll really thankful to you for you helping hand

    I checked your capx file.

    Go to event sheet 2 and then delete "Load Save Game from Slot..."

    Then it should work.

    The Save Game function has nothing to do with localstorage.

  • Instead of restart the layout after the player had died you can just set his position back to beginning. Then the collected coins are still gone.

    Would be the easiest way I guess

  • Hi Helga

    Welcome to the community. Yes this is possible. If you want to develope an android game you can use coins and IAP (InApp Purchase).

    For HTML5 game you can use the built in IAP plugin from scirra.

    You will find a lot of tutorials here: https://www.scirra.com/tutorials/search?q=shop

    Or some examples in the Store <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Regards

  • >

    > > i have variable in sheet one

    > > but sheet 2 is not getting sheet 1's update value

    > >

    >

    > Please provide always a capx example, otherwise it's nearly impossible to say what your issue is.

    >

    > Regards

    >

    here is capx

    https://www.dropbox.com/s/yhwozpqlcbwle ... .capx?dl=0

    Hi,

    I already saw your capx example. But you are using a beta version and I use the latest stable version.

    So I'm not able to open your project. I don't want to use a beta version for my projects-

    Do you have an older version of it? Otherwise we have to wait till the stable version comes out.

    Regards

  • Ne7herM0St

    A Snapshot from the ad code is sufficient

  • > then be sure that you have set Test Mode to false

    >

    it is, i think i might have fixed the issue but now intel xdk is giving me problems.

    When it exports projects is supposed to add 6000 to the x86 version number and 2000 to the arm version number, however it isn't doing that so the version number is lower than my old one,which stops me from uploading it to google play.

    EDIT

    Nope it still doesn't work :/ everythings set up fine as far as im concered...

    Can you provide a capx example from your ads code? Otherwise it's hard to say where the issue comes from.

    Regards

  • I must say I'm very frustrated by LocalStorage, I have tried switching my project over to it from WebStorage and really having trouble. I retrieved a lot of data from WebStorage from within functions, and this just doesn't seem to be supported now, as every retrieve needs a separate trigger which I can't put inside my functions. The GetKeyAt expression only allows you to grab a key by number rather than name, which is no use to me.

    Is there really no way to just retrieve a key by name from within a function and then use that value? As an example, I just want to run a function, retrieve the height and width of an array from 2 LocalStorage keys and then run loops using those 2 values. This was very easy with WebStorage, but now it seems like I'll have to do something extremely complicated just to accomplish the same thing. Unless I'm missing something?

    Hi,

    the problem about LocalStorage is, that you have to fetch the key first in order to get the information behind that key. This makes it more complicate than using Webstorage.

    I managed it the way that I load the LocalStorage on the start of the layout into an array. Then during the game I'll enter the updated variables first into the array and then the array to the LocalStorage.

    If a further function needs a specific value, I will fetch it from the array, not from the LocalStorage.

    Maybe this helps you for your project.

    Regards

    Andreas

  • i have variable in sheet one

    but sheet 2 is not getting sheet 1's update value

    Please provide always a capx example, otherwise it's nearly impossible to say what your issue is.

    Regards

  • The ads only work in the final apk version, not in preview.

    Regards

AndreasR's avatar

AndreasR

Member since 21 Feb, 2013

Twitter
AndreasR has 6 followers

Connect with AndreasR

Trophy Case

  • 11-Year Club
  • x11
    Popular Game One of your games has over 1,000 players
  • x17
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies