WesleyDeveloper9's Forum Posts

  • dop2000

    I have applied the code to my game and it works! Thank you very much for your help.

  • With Construct 2, can we give the impression to a player that someone is typing phrases on a computer screen (Type-on text effect)? Showing a square cursor that moves from left to right while words are appearing on the screen.

    Tagged:

  • To Tomycase and plinkie:

    Thanks for your help, I have finally solved the issue by following your instructions. I will be able to move further in my project

    thank you again!

  • To plinkie:

    I have solved some problems in my game by changing the order of the codes. But the Global variable returning to 3 each time that I click "Restart", remains an issue. I wonder what would be the solution because I have tried your suggestion with the "Every tick" condition and it's still not working.

  • To plinkie:

    I know, I have a lot of things to fix. This is a game who is similar to Tic-Tac-Toe but I think that the codes with the triangles and squares don't work. I will have to apply for another method.

  • To plinkie:

    The object is showing 3 because the initial value of the Global Variable is 3. Updating the value in the text object? How? In the Global Variable and Local Variable, there is no option to update the value, except for "set value". But this option will fix the value at a permanent number that will not vary.

  • To plinkie:

    Heres a dropbox link to my .capx file: dropbox.com/s/3xg9c9exydkxrwd/Triple%20Shape%20Code-au9cgh88s937.capx

  • To dop2000:

    Do you know where I can get the plugins to open the files of the tutorial so I can access the Event Sheet?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To plinkie:

    This is the Event Sheet related to the Global Variable named "NumberChances". In this Event Sheet, you will see all the conditions and actions related to the "NumberChance" variable. I hope that this will be enough for you to find why the value of the "NumberChances" variable comes back to 3 when the player presses the reset button. If you can't find the solution tell me how I can send you the .capx file of my game. :

  • To plinkie:

    I can't send a screenshot anymore the forum seems to refuse that people post images. Can you tell how can I send you the .capx file of my game?

  • To plinkie:

    Where can I send you the file? At your email address?

  • To plinkie:

    Can I send you a screenshot, rather than sending you the file?

  • To plinkie:

    I give the initial value of 3 when the player loses the value drop to 2. When the player clicks the reset button the value comes back to 3 again. So yes resetting the layout resets the variable.

  • Greeting Construct 2 users,

    In my game, the player have 3 chances (lives). When the player loses the game, 1 chance is subtracted from the text object named "txtChances", then a box appears on the screen with a "Restart" button to restart the level. If the player clicks "Restart" the layout will restart. But unfortunately, when the player clicks the restart button, the Global variable that controls the number of chances that the player has will also restart and the player will regain his 3 chances every time that he or she loses. How can I make the number of chances decrease each time that the player loses without resetting the value of the Global variable when the player click the restart button to restart the level?

  • To dop2000:

    Among the list of codes that you give me do you know if there is a code that allows the player to play Tic-Tac-Toe against the CPU and not against another human player?

    Thank you!