1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Scoreboard flickering

Discussion in 'Development' started by Levi, Jun 8, 2020.

  1. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    I have a scoreboard and im using repeating task to keep it updated and it flickers from time to time. how do I prevent that?
     
  2. fevio

    fevio Spider Jockey

    Messages:
    33
    You can send the code?
     
  3. Heisenburger69

    Heisenburger69 Silverfish

    Messages:
    16
    GitHub:
    heisenburger69
    Instead of using a task, listen for specific events and change only the line relevant to it. For example:
    Listen to MoneyChangeEvent or whatever, and whenever its called, update the line containing the player's balance in the scorehud
     
    SleepSpace9 likes this.
  4. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    don't update the whole board, but only some lines
     
  5. Primus

    Primus Zombie Pigman

    Messages:
    749
    I'm about to make score board, which I'll update every 20 ticks. I hope it doesn't flicker. How frequently are you updating it?
     
  6. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Every 20 ticks too..
     
  7. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    I tried that only updating lines.... but it doesn’t update anything now
     
  8. JviguyGamesYT

    JviguyGamesYT Baby Zombie

    Messages:
    113
    GitHub:
    jviguy
    Use a Longer Tick Delay 20 ticks is one second meaning your scoreboard is updating every second causing noticeable flashing. 60 ticks should work to get rid of the flashing. it will cause a slow down on updating scores ,but its better than being blamed for causing a kid to go into a epileptic stroke.
     
  9. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    is there no way to update the lines without having to remove/create scoreboards?
     
  10. JviguyGamesYT

    JviguyGamesYT Baby Zombie

    Messages:
    113
    GitHub:
    jviguy
    i dont know i havent messed around with scoreboards i just use scorehud because its got the most addon support.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.