Is there a way maybe with BBCode to insert a sprite/graphic in a text string?

0 favourites
  • 7 posts
From the Asset Store
OpenAI TTS
$10 USD
Text-to-Speech plugin.Allows your Construct 3 project to convert written text into spoken words
  • Hi everyone is there a way with BBCode or some other way to insert a sprite/emoji/graphic into a text string?

    For example, I have a speech bubble with a global text string that advances to the next paragraph using ...More^ and the next function command.

    I'd like to have instead of ... have a small arrow like an emoji pointing to the word more.

    Even better being able to insert a sprite would be amazing. This way if I reference pressing a button I could include the graphic of that button in the text.

    Finally I did see a dialog speech bubble once that had asked a question at the end of the text string that prompted a Yes No or clickable button. Branching off into a conversation.

    For example the character asks:

    Hi would you like to A or B

    Then a button for A and another for B would appear inside the speech bubble.

    Depending on which button was pressed either it would branch into another text and possibly another branch or when the other button was pressed a goto layout happened.

    Like the character saying something like 'Do you want to go to the cave with me?' then that would trigger going to the cave layout and events.

  • You should be able to add emojis directly in text, like any other character.

    Adding images is also possible, use "icon" BBCode tag:

    construct.net/en/make-games/manuals/construct-3/plugin-reference/text

    Here is an example project

  • That's great!

    Is there a way to animate an icon?

  • I guess you can change the icon frame in the text every N seconds.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to animate an icon?

    You can use [tag] in BBcode to tag a region of text - perhaps just a placeholder icon - and get its position. Then you could put an animated Sprite object there - which allows for using any other features in Construct (effects, behaviors, other kinds of objects like Particles, etc.)

  • Is there a way to add a linebreak?

    Can't seem to find the simple code for this.

  • Is there a way to add a linebreak?

    Can't seem to find the simple code for this.

    It's not BBCode, but I find that newline works for me. This example below generates 3 lines of text.

    "Robots: " & Robots & newline & "Robots Destroyed: " & RobotsDestroyed & newline & "Robots Escaped: " & RobotsEscaped

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