How do I click on a specific word in a Text or Text Input object?

0 favourites
  • 2 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • Well I got no clue how this would be possible, but what my idea is basically; When the player clicks with the mouse on a word like "stick" in a Text/Input object's sentence, it gives him multiple options like 'break it', 'pick it up', 'destroy it' and then you could click again on 'pick it up' or any of the other options. And is there a way to highlight clickable words? This all would be doable in pure js and css I'm sure, but it's just not an option.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can't highlight the words inside the one text object and the click is based on the collision box of the text object. You could probably create an object on top of the word so it looks like you are clicking it but that would only be if its position is known as I don't think you could detect the location of the word in the text object and set the other object position to it.

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