killerjob's Forum Posts

  • 2 posts
  • you amazing people

  • Try Construct 3

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

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

    I am trying to use Construct to build a name generator.

    I have worked through the tutorials I have found without many issues and have searched through the forums for information.

    I want the basic functionality to be something like.

    User presses a button

    First name is picked at random from a pre-defined list of names (around 40 different ones)

    Surname is picked at random from a pre-defined list of names

    The freshly chosen Firstname and Surname appear until the button is pressed again, or level is reset.

    I have been blundering around trying to get a generated random number to choose the correlating random name but I can't see how/where you would put this data in an array(?).

    Can anyone help me in the right direction?

    Thanks

  • 2 posts