shepherdgames's Forum Posts

  • Ok. The localstorage codes which u have provided are working, thanks for that.

    Now, whenever i'm playing a level its score is getting updated with the fresh score in the Menu i.e., for example, I played level one and my score is 4000 points and again I played the same level (Level one) for second time, my score is 3500. Now, the score 4000 is being replaced by 3500 which I made while playing second time. This shouldn't happen. The score should be replaced when the score is higher than the previous score (4000).

    I hope u understood what i'm trying to say.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also tell me how to replace the existing score value with higher score value.

  • Wow, Thanks a lot. Its working.

  • I'll tell you my scenario. I created a global variable called 'Score' to display score on each level. I want that score value to be saved and displayed in another layout (Menu) where user can see all his/her scores of all the levels.

    As soon as the user completes a level, the score value should be recorded and showed on Menu. So that whenever user goes to that menu he/she should able see their scores.

  • Ok, i just got mail from scirra regarding update of a new version. So i installed it. Now i'm not understanding how to use the new LocalStorage object.

  • Oh tnx, i'll try that.

  • Oh tnx...i'll try that.

  • Thanks, i tired that but i want the notification bar to be hidden on start of game.

  • Hi, im developing a mobile game with 40 levels. I want to save all the best scores for each level and display them on the menu. I watched several tutorials on the internet, in every tutotrial people are using something called webstorage but in my version of construct 2 (202) instead of webstorage, i have localstorage. I tired using same the codes used in the tutorials (system-on start of layout; webstorage - set text to webstorage.localvalue("parameter")) but it isn't working for my localstorage object. Acutally the codes are different for the localstorage object.

    Please help me with this.

  • Hi,

    I'm developing a mobile game for android, I want it to run in a full screen mode. Can anyone help me with that?

  • That means, it's size doesn't increase much even if i complete all the levels?

  • Hi,

    I'm currently developing a game with actual size of around 500kb but after exporting to andriod crosswalk through intel XDK the size of the game is going to 55MB. what should i do to lessen my game size? I just developed 5 levels, i still wanna develop atleast 35 levels. I'm worried about the size if i develop the whole game.

  • Hello Everyone,

    I'm very much interested in developing games. I hope my dreams come true with all your support.

    Thanx,

    Sudeep Vundurty