log in listbox updates after long time lag

0 favourites
  • 5 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hello,

    I am using a number of listboxes to log detail for each different sprite in the game. To this end i have a function that takes as parameter the name of a sprite and a message, and then displays the message in the listbox of that sprite by name.

    I notice that theo listboxes don't update in real time but rather, they stay clear and then after several seconds they update in bursts with lots of messages appearing.

    I am not sure why this is the case.

    Is there a way to make the text appear at the time is written --



  • Can you post your project file? Or a screenshot of your code?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I quite often do something similar, but instead of using a listbox, I use a text input box set to be a textarea. This updates as things happen and allows you to scroll through the output. Just remember to append a newline at the end of each message.

    another thing you can do is output messages to the browser console.

  • Thank you.

    One reason i use a listbox is that i add message to the top - so i can always see the last posted item.

    I'll try textboxes again and see how it goes.



  • To add a message to the top of textbox, use Set text to NewMessage & newline & Textbox.text

    Or you can use "Scroll to bottom" action.

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