umplay's Forum Posts

  • 4 posts
  • Im attempting to make a turn based game with multiple attacks that work like Rock Paper Scissors. Iv chosen to simplify it since I know nothing about coding lingo.

    I'm stuck with having the enemy attack randomly, and attacking on his turn. I followed the C3 tutorial on turn based combat and have been slowly cutting it up and moving things around to work to my liking, but I'm stuck.

    I have 3 different "elements" that act as Rock, Paper, and Scissors. The elements are fired by the player and the enemy towards each other. When the elements collide they do damage to the player who loses the RPS. But I'm not sure how to randomize the enemy's attack to choose one of the three, and for the player and the enemy having to select their option before the combat begins.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Iv tried looking up other tutorials and I'm stumped. Im new to visual scripting and have been trying to add random words from an array to text for ages.

    This is the box I want to add it to.

    This is what it always comes out as. No matter what I do. The debug mode says the data in the array is correct so I'm not sure what I'm doing wrong.

    Tagged:

  • Iv tried looking up other tutorials and I'm stumped. Im new to visual scripting and have been trying to add random words from an array to text for ages.

    This is the box I want to add it to.

    This is what it always comes out as. No matter what I do. The debug mode says the data in the array is correct so I'm not sure what I'm doing wrong.

    Tagged:

  • 4 posts