Holographic Displays

Holographic Displays

3M Downloads

API smooth timer update

car1ot opened this issue ยท 1 comments

commented

Im need to display countdown timer in hologram, using your API.
My current code (pseudo code):
time = 10
Repeat every second until time end (
Remove line 0
Setline 0 "Time left: " + time
time--
)

But sometimes armorstand shows and update isnt smooth. How to make smooth update?

commented

You shouldn't remove and add a line, just modify the existing line. Otherwise the armorstand used to display the hologram is deleted and recreated.