How would I do this?

This forum is currently in read-only mode.
  • Hello there,

    I would like to make a "word search" program in construct. Like the ones you might know from the newspapers. So can someone point me to a tutorial or can explain me, how I'd do that in construct?

    Any help here would appreciated! I sadly have no idea where to start at the moment.

    Thanks a lot in advance

    Manuela

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Word search? As in you have a grid of letters, and have to find words?

    I'll assume, just cause it's more awesome, that you want to generate word searches. Well, first off, get your words, and make them appear at random in the grid. Set a starting position, and send the word off in a random direction. Then test if

    a) You do not overwrite an existing word, or if you do, that the letter you overwrite is the same as the letter you write.

    b) the word does not go off the grid.

    Then, fill all the empty boxes with a random letter.

    Then, by say clicking and dragging across multiple boxes (with a rule that a box cannot be selected if two of the boxes next to it are selected, for diagonal selection), write the values of the boxes to a variable. If the variable matches one of the words in the word search, hey presto, a point!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)