RBuster's Forum Posts

  • I did it:

    And not worked.

  • Thank you

    Sent by PM.

  • Hi LittleStain

    I understand. Can I send you print-screen of the code referring to the part of the draw, distribution and control of cubes?

  • Hi LittleStain

    You watched the game?

  • LittleStain

    I tried to do as suggested but didn't work. Can I send you a PM with the link to the game for you take a look? I don't want to disclose it publicly.

  • Thanks I'll check it and return here.

  • The panel shows a different value than the sum of the values ??that appear in the remaining objects. Also this value never repeat.

  • Someone else?

  • mindfaQ

    Do you need any more information about the code?

  • Each object has a number 1-9. For example, if 4 objects left over at the end, the first with the number 5, the other two with the number 1 and the last with the number 8, the value that should appear in the panel shall be the sum of the value of these four objects: 15. Thus the player will be able to destroy all the objects and complete the level.

  • Maybe I wasn't clear befor, so I decided to post an image of the code that determines what is displayed in the result panel (sorteio textfield).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The total of the values ??corresponding of the remaining objects.

  • mindfaQ: Sorry for my mistake. With regards to the game, the code typically randomly chooses an amount of objects (1 to 5), sum the corresponding values ??and then displays the result in the panel. The player can choose these same objects or others with different values ??but the sum result must have the same that appears in the panel. When the sum is OK, clicked the objects are destroyed. The problem happens in the end to catch the value of the remaining objects (03 or less) and show this value in panel for the player click in these objects for to go to the next level.

    Wastrel: Unfortunately I can't provide the file because it is already the final project with images and sound files. Sorry for that.

  • No one to help?

  • I created a game of addition. The user has to add multiple objects with numbers to make the result equal to that shown in a panel. Each time the sum beats, objects are destroyed on the screen. Everything is OK until reach the last 3 objects on the screen, when the result must be the sum of the remaining objects.

    I used the code bellow (but not worked):

    System> objects <or = 3

    �������� Pick all objects

    �������� is on-screen objects

    ��������������� System> For each object: System> add to objetos.AnimationFrame to numPanel

    How can I fix it? Thanks.