Hey devs!
I'm currently working on a chatbox system and wanted to hear your approaches or best practices.
Here’s what I’m trying to achieve:
Scrollable History – Players should be able to scroll through older messages smoothly (using either touch drag).
Dynamic Expansion – When new messages arrive, the system should smoothly scroll down (if the user is already at the bottom), and increase the total height accordingly.
Optional Manual Scroll – If a player scrolls up manually, I want the system not to auto-scroll until they scroll back down again.
I’ve tried pinning messages, using LayerScrollY for fake scrolling, and adjusting position based on scroll offset. It's… messy
So I’m curious:
How would you implement something like this?
Any tips on managing performance for large message lists?
Should I rely on layering, containers, or a mask-style system?
Would love to see screenshots, event sheet logic, or even just general advice!
Thanks in advance!