i am using rex text as my text box display.
and im using a text box where i type in text, I am making a chat system.
And what i want to know is how do you make a text scroll?
construct.net/en/forum/extending-construct-2/addons-29/behavior-scrolling-for-47715
Develop games in your browser. Powerful, performant & highly capable.
If i press up or down buttons, the text disappears
It may not be compatible with BBcodeText.
that is sad, i was really hoping it will work.
but is it possible if the BBcodeText is at line 10, it will remove line 1 ?
You can remove lines which end with line breaks. But if you have a lot of text which is automatically wrapped to a new line, it's very difficult.
To remove the first line:
Set text to right(text, len(text)-find(text, newline)-1)
is right?
I don't know, does it work?
You should probably only remove the line when the text has more than 10 lines:
if tokencount(BBText.text, newline)>=10
:o it works, thank you so much