facebook

Any Idea on How 2 Implement Levels

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #350649 Reply

    adikate
    Member

    Hi, i am designing a game in which i would like to add some levels to it. I designed my code perfectly but no idea on how to design levels. This is what i am looking to design. In the Home page only Level-1 is unlocked to play and all the other levels should be locked. If Level-1 is successfully completed then Level-2 needs to be unlocked and so on…

    Attachments:
    You must be logged in to view attached files.
    #350653 Reply

    Code_A
    Member

    You can use localStorage to save the level completed data (probably in an array format for your case). Here is the localStorage How-To.

    Be sure to place the recall code in the documentReadyHandler function (on load event) of your <your-form-name>_custom.js file which can be found in your project’s www folder.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Any Idea on How 2 Implement Levels

You must be logged in to post in the forum log in