js-minecraft icon indicating copy to clipboard operation
js-minecraft copied to clipboard

Font rendering is slow

Open Myandre1025 opened this issue 2 years ago • 9 comments

Dunno if its just me but its super laggy and kind of unplayable

Myandre1025 avatar Mar 16 '23 14:03 Myandre1025

Can you give me more information?

What hardware are you using? What monitor resolution are you playing with? Which browser are you using? Have you tested it with another browser?

Is there anything specific you do before the lag occurs? Do you have any instructions on how to reproduce the problem?

LabyStudio avatar Mar 16 '23 19:03 LabyStudio

I just realized that it could be because hardware acceleration is turned off in your browser. Could that be the case?

LabyStudio avatar Dec 21 '23 16:12 LabyStudio

Hi, I just wanted to say that Kleat has improved the fps a lot. It was bad due to the font rendering as it was rendering every single character from a image file rather that using a normal font and importing that. Heres the github commit: https://github.com/Kleeat/js-minecraft/commit/d8ddcc7fd2cfe8bf3cc8a1a740ef7e5133121b15

CrazyH2 avatar Jan 27 '24 07:01 CrazyH2

Hi, I just wanted to say that Kleat has improved the fps a lot. It was bad due to the font rendering as it was rendering every single character from a image file rather that using a normal font and importing that. Heres the github commit: Kleeat@d8ddcc7

@LabyStudio I recommend that you do the same thing or something similar to fix this issue.

andriemc avatar Sep 12 '24 17:09 andriemc

Hi, I just wanted to say that Kleat has improved the fps a lot. It was bad due to the font rendering as it was rendering every single character from a image file rather that using a normal font and importing that. Heres the github commit: Kleeat@d8ddcc7

@LabyStudio I recommend that you do the same thing or something similar to fix this issue.

I already did a few month ago https://github.com/LabyStudio/js-minecraft/commit/468f942c4984578a03e472c49646198680489723

LabyStudio avatar Sep 12 '24 20:09 LabyStudio

Hi, I just wanted to say that Kleat has improved the fps a lot. It was bad due to the font rendering as it was rendering every single character from a image file rather that using a normal font and importing that. Heres the github commit: Kleeat@d8ddcc7

@LabyStudio I recommend that you do the same thing or something similar to fix this issue.

I already did a few month ago 468f942

sorry, I didn't notice because the main demo hasn't been updated (and might be in legal trouble, since it's using minecraft textures)

andriemc avatar Sep 13 '24 08:09 andriemc