I made the Stylish scoreboards anti-flicker. No changes to the syntax or anything. I just rewrote the system so it doesn't flicker anymore.
I have tested it and with a TPS of 19.95+ you will get no flicker at all. But if you start to drop FPS like below 19.95 you start to see some flicker. This only happens when you contantly update the scoreboard ticks at a time like in this video. It won't flicker at all if you don't update by a tick everytime.
In this video i'm updating 15 lines every tick. Which is insane and you can see no flicker running 19.96+ tps (In the video) but when it drops like I said you will notice flicker. This is shown in the video.
Example script:
Code (skript (Unknown Language)):
function animate(p: player):
add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*}
set {_t} to "This is some text made for testing yeeeeeeeeeeeeeee!"
set {_num} to a random integer out of {list::*}
remove {_num} from {list::*}
#set {_time} to "%random integer between 1 and 3% ticks" parsed as timespan
loop (the length of {_t}) times:
wait a tick
set {_s} to subtext of {_t} from characters loop-number to (loop-number + 32)
set the text of id "%{_p}%Slot%{_num}%" to "%{_d::%{_num}%}%&6%{_s}%"
command /testing:
trigger:
add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*}
if stylish scoreboard "T-%player%" does not exist:
create new stylish scoreboard named "T-%player%"
loop 15 times:
if loop-number is not 15:
add loop-number to {list::*}
create a new id based score "%player%Slot%loop-number%" with text "%{_d::%loop-number%}%" slot loop-number for stylish scoreboard "T-%player%"
set title of stylish scoreboard "T-%player%" to "&a&lSkellett"
set stylish scoreboard of player to "T-%player%"
set the text of id "%player%Slot15" to "&a&lSkellett stylish scoreboards ftw"
loop 50 times:
animate(player)
wait "%random integer between 1 and 10% ticks" parsed as timespan
delete {list::*}
wait a second
message "done"
loop 15 times:
delete the id based score "%player%Slot%loop-number%" in stylish scoreboard "T-%player%"
delete stylish scoreboard "T-%player%"
loop 15 times:
delete the id based score "%player%Slot%loop-number%" in stylish scoreboard "TEST-%player%"
delete stylish scoreboard "TEST-%player%"
If you find any bugs with the stylish scoreboards please tell me and downgrade to 1.8.1.
Hope you enjoy!
Make something cool with stylish scoreboards? Send me a gif/image I would love to see it!