How do I Build a Scrollable Chatbox with Auto-Limit and Dynamic Expansion

Not favoritedFavorited Favorited 0 favourites
  • 1 posts
From the Asset Store
Template for scrollable list, fully documented in comment and video
  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)