Help me with IOS Level Select Screen.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey Clickteam,

    I'm working on my first IOS game. I have 30 challenges complete and now I'm working on the level selection screen. What I have right now is 30 objects on one frame numbered 1-30 that when selected, it goes to selected challenge. What I would like is levels 1-10 on one page and an arrow that when pressed scrolls to the next page with levels 11-20 and then a third page with 21-30.

    My question is whats the best way to do this without creating new frames that I would jump to? Thanks Clickteam!

  • Top of mind i think this is the best way.

    Select object 1-10 and give them a qualifier, give 11-20 another etc. Make all of them invisible.

    Create a counter.

    Create events that when you click/press/whatever on your button it adds/subtracts 1 from the counter.

    -If counter = 1
    >make Qualifier 1 reappear
    >make Qualifier 2 invisible

    -If counter = 2
    >make Qualifier 1 invisible
    >make Qaulifier 2 reappear

    etc.

    There probably is a better way to do this with more code but this is the simplest way.you could add them to different layers instead of qualifiers and make them visible. That would probably make it easier to sort in your frame.

    Please login to see this link.
    Please login to see this link.|Please login to see this link.|Please login to see this link.

  • Make the level select screen frame width wide enough to show all of the levels side by side (3x the width of your window. You'll have it scroll to show the different levels). Have the window show only levels 1-10. Have the GUI buttons static above the frame so that they don't move. When you press the arrow button have the camera change on the X axis (+/- your window width). You could tweak it to scroll smoothly to the next position which would be the 11-20 screen and then the 21-30 screen.

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

  • For method based on layer:
    How to copy all objects on layer 1 and paste in place in layer 2?
    Imagine if i have many active object (levels) and copy paste one by one on the new layer 2, so tired...

    By the way thank you for your suggestion about using qualifier, i am gonna think for the simplest way.

  • oh damn,Sumos method is great. The simplest ways really are the best haha.

    Please login to see this link.
    Please login to see this link.|Please login to see this link.|Please login to see this link.

  • For the smooth scroll, you could set target positions. Have an invisible active set to bouncing ball (left and right directions only). When you press the right arrow you can have the invisible camera bounce to the right until it reaches the correct position then stop it. Then the frame would just set it's position to the invisible active camera. That would be the simplest way.

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!