facebook

Creating levels

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

    hardsofft
    Member

    Hi,I am assigning buttons level 1,level 2, etc which on click go to screen as selected. All is fine but what I need is locking level 2, etc and when level 1 is finished level 2 wil be unlocked automatically to play and so on…

    #339609 Reply

    Stu Wade
    Member

    Try something like:

    if (requiredLevel < lockLevel)
    { // code to go to page
    }
    else
    { // this level is not yet available
    };

    #339647 Reply

    hardsofft
    Member

    Hi Stu, thanks for the reply. i done what u said but its not executing, i am attaching my file, plz help me with…and also i used the code what u have given in the custom javascript as below

    
    if (Level 1 < Level 2)
    {
      phoneui.gotoPage("m1-Level 2",'NONE');    
    }
    { 
      // this level is not yet available
    };​
    
    Attachments:
    You must be logged in to view attached files.
    #339755 Reply

    hardsofft
    Member

    anyone there to help me with, as i am awaiting and my project is on pending…

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Creating levels

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