You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

4h 56m 24s logged

UPDATE #4

I fixed preformance :D heres how:

  • i drew the move log table 3x per frame instead of once so i made it do it once now
  • was calculating if someone was in checkmate every frame which was checking if anyone had legal moves every single frame, changed it to check for checkmate on clicks which is every time someone made a move
  • some of the stuff we were rendering were static background elements that never changed and they were being drawn every frame. So instead we render them once at the start and cache it so that we don’t render static elements so many times.
    (i accidentally changed the opacity of the background and dont feel like retaking the screenshot and accidentally moved the sidebar)

FPS my machine 30-40 -> 200+
FPS itch.io 10 -> 45

we still have a ways to go to get a fully smooth experience but 10 to 45 fps from the demo link is much much more playable and i thought i would get a devlog out.

next update ill continue to optimize and polish to get ready to ship!

0
2

Comments 0

No comments yet. Be the first!