[solved]How do I load plaintext text into a text object?

Get help using Construct 2

Post » Sat Jul 26, 2014 12:17 pm

@damjancd ,

Magistross already gave as the solution and a practical example. I can't test if the AJAX method is faster in CocoonJS and Ejecta, I believe that in huge texts it will be.

Looking around on the "how to" thread, I've found this topic dialog-system_t65873 , and in it Yann provides a great example that uses a txt file (and AJAX).

There are other examples too, although I am still skeptical if the glitchiness that you describe is really caused by the text loading method or the text object it self. On an other topic Kyatric mentions that hundred, perhaps thousand lines of text won't cause loading/performance issues. I am sure that I've read somewhere that the text object is causing a hit to performance though.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Sat Jul 26, 2014 1:54 pm

@eli0s oh sorry, I just saw that there was conversation after that initial talk. The forum didn't inform me at all :)
Thanks!
B
38
S
6
G
1
Posts: 306
Reputation: 2,902

Previous

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 35 guests