lundi 14 novembre 2016

What is the best practice for displaying huge chat logs or console logs in a scrollable window? (AS3)

I'm writing a graphic console that highlights different entries and stores things when you input them (in AS3) but I've found that once there are thousands of entries, the program starts lagging and scrolling is slow. If I want scrolling to be animated with acceleration it gets even slower.

How do I move the giant block of objects that are my stored entries up and down? Do I have to progressively load messages around where the user is looking? How does the scrollbar handle this, then?

Aucun commentaire:

Enregistrer un commentaire