• mindbleach@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    18 hours ago

    The sort of thing a profiler should catch instantly, and any single programmer should be able to kludge in an afternoon. Amortize. Why are all your non-combat NPCs thinking all the time? More importantly, why are they thinking every frame? The game part of the game chugging a little should not slow down rendering. Have some priorities. You can move the camera, advance animations, and update particles even if three of your cores just fell out.