#Optimization for chunk loading

1 messages · Page 1 of 1 (latest)

grave seal
#

my game freezes for a sec when i load new chunks in my voxel game

eager bane
#

use actors and/or write better code and/or yield more often.

#

tl;dr skill issue

grave seal
grave seal
#

im trying actors rn

eager bane
# grave seal im trying actors rn

i suggest start with yield more often. actors are rather difficult to work with the first go, but voxel chunk generation is a great candidate for actors

#

you still need to yield for the actors anyway, so start there. your chunks may load slow, but that's what the actors are for - to make it faster

grave seal
#

loading and unloading is the only laggy part rn so it should be fast to fix

eager bane