shepherdgames's Recent Forum Activity

  • Thnx for the suggest but its not working. Do you have some other idea?

  • Dude, Thnx alot. Ur really great help to me. Now, i got what i wanted.

  • Ok tnx...i'll try that

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

shepherdgames's avatar

shepherdgames

Member since 3 Feb, 2015

Twitter
shepherdgames has 17 followers

Connect with shepherdgames

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x6
    Popular Game One of your games has over 1,000 players
  • x8
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies