Madrasmadnes's Forum Posts

  • thanks anyways

    Anybody guys

  • Thanks Wisdoms But there is a small issue:

    When I completed my level 1 with one star, it says Stars collected 1. If I play again the same level and complete with 3 stars it should not add that into the 1 already collected. It should just say 3 stars collected. (Forgot about the no of stars shown over the button, Just one total around the corner).

    About the second questions.

    Here the stars are gained when we click it, but in my test game which I am trying, Player gain stars if my player uses less arrows to complete the level.

    Even if you want to change the whole array system, doesn't matter. I focusing to use level unlock and star counts calculated.

  • Ah I see. This is what containers do....THankx What about the second question the one with the stars..

    And also how can i add all the container values (star counts), which has to be displayed in the corner of the layout. Because I don't even needed them to be visible on each of the level btn, coz stars are already there. I just need to calculate everything and show the total number of stars gained in the corner.

  • Scirra forum had never this problem for me so far. But yesterday Forum was down (I guess for some reason). Laggy for everybody, It doesn't happen often. Only yesterday.

    And yes report the bug with image in the bugs thread and try re downloading and reinstalling.

  • I see downloaded 6 times. Somebody is trying to help I guess.

  • In view, check if the layer is enabled

  • Hi all,

    I have created the level select with stars file with the help of this tutorial

    Now i need to add some details to it. I am trying on my own but couldn't do it easily. So if I could get your help that would be awesome.

    I have two questions

    1. I need to have a "total stars collected so far" value in the levels page with no repeat

    2. Big doubt - In my game I have a simple points system. If player wins the game with just one arrow, he will receive 3 stars, If player wins the game with greater than 2 arrows and less than 5 arrows he will receive 2 stars and so on.

    How to do these. Capx attached. If you could work on the capx, million thanks.

    Thanks a lot in advance

  • THanks LittleStain but I am not that bright logically to get everything you said. I am gonna post another question maybe here itself with another capx, which I guess will help me much more easily.

  • Thanks That's simple and easy one.

    What if I have multiple sprites in the Layout 1 which has to be unlocked from other layouts 2, 3, 4, 5.... Let's say like a levels page. Is it advisable to add maore Global Variables

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Dear all,

    I need help to make a sprite visible in 2nd layout when I click a sprite on 1st Layout (FOREVER).

    In detail: Let's say I have a sprite 1 in Layout 1 and the sprite 1 is not visible. When I click something in the Layout 2, the sprite 1 in the Layout 1 should be visible forever.

    What I have tried: I have made On start of layout 1: Set sprite 1 not visible. And in Layout 2, on collision make the sprite 1 visible. But again when opening the layout 1 the sprite 1 goes invisible. I understands that on start of layout does not works, but any other option.

    Help needed!!!

  • shinkan thanks for the valuable explanation.

  • Thanks a lot. I will check soon. shinkan You're the life saver. But sorry for asking this, is there any possibilities to do this without using arrays or dictionaries, just with global variables or greater than, lesser than conditions. Just to know, I couldn't quite catch a way.

  • animator I have followed your other post - . Now I am just wondering how to do that for this situation. shinkan - How to add the stars to the star count only once, not every time it is achieved. And also if two stars are gained, it will says total stars gained 2. If the player plays the same level and gained three stars this time. It should say total stars gained 3 not 5 by add the new 3 stars.

  • I am also curious about the second question, the star count in the levels page. I can guess how to do that, but how to do that without increasing the count again and again for the same level.

  • When the level 1 is achieved create events such as hide the dummy button for the next level with lock symbol and make visible original button which has click connection to it.

    It may works, not sure. But still this is a hectic job to do mate.