LabyStudio / js-minecraft

A browser sandbox that provides all basic features to understand the render and physics engine of Minecraft.
Other
76 stars 31 forks source link

Super laggy #3

Open Myandre1025 opened 1 year ago

Myandre1025 commented 1 year ago

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

LabyStudio commented 1 year ago

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 commented 10 months ago

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

CrazyH2 commented 9 months ago

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

andriemc commented 1 month ago

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.

LabyStudio commented 1 month ago

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

andriemc commented 1 month ago

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)