Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I want to create a game similar to word searches, with letters scattered randomly on the screen. I wonder if anyone would have an idea how I can generate the lines that will appear between the letters and connects one letter to another, until the word is formed.
setting it's position to letter1
setting it's angle to angle(letter1.x, letter1.y, letter2.x, letter2.y)
setting it's width to distance(letter1.x, letter1.y, letter2.x, letter2.y)
Develop games in your browser. Powerful, performant & highly capable.
Hi LittleStain (new avatar/same help)
Thanks for the suggestion. I tried to apply this but not work (certainly because I didn't understand what to do).
In fact, I wish the line ends stay stuck on the last letter I clicked and the mouse cursor until I click on the last letter of the word.
I made a word search capx a while back here:
The lines are pretty much done like LittleStain said.