Create tick box of text

0 favourites
  • 3 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hi guys,

    I'm killing my brain and not getting to anything that i can use...

    How do i get an Text object to show me a text like if i was telling a story

    Example would be one of those thinking Clouds with text inside, i need it to keep changing, like if the char would be thinking....

    I have tried to use an Array and write my text in 10 parts... however i'm having issues with the loops

    It only shows me the last array value...

    For example

    array[10] i'm doing for each X set text to curvalue (currentvalue)

    This if i run the layout always shows the position array[9] skipping the others....

    What is missing here?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use a loop only if you want to repeat many events in ONE tick.

    Using a one-dimensional array is a good start.

    I would do this: add an instance variable to the text box perhaps. Then whenever you want to change a thought (perhaps every X seconds), add one to variable.

    Every tick: set text to

  • thank you!


    Maybe the values in an array could be defined on the object setting in the future? It would spare initialization actions

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