Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make chunk creation lazier #13

Open
joshmarinacci opened this issue Mar 27, 2019 · 0 comments
Open

make chunk creation lazier #13

joshmarinacci opened this issue Mar 27, 2019 · 0 comments
Labels
enhancement New feature or request performance a fix which would improve performance

Comments

@joshmarinacci
Copy link
Owner

Right now when the player moves forward across a chunk boundary it will trigger the creation of a bunch of new chunks to fill in the world. Currently the system will have to wait until those chunks are all completely created before continuing with rendering. This could easily take more than a single frame.

Instead chunk creation should be lazier. It should issue a request for new chunks but assume that they could take a while to come in (perhaps data from a server?). Further more it should allow some chunks to come in before others. Push a chunk into the screen when it is ready, don't wait for all of the new chunks to be available.

@joshmarinacci joshmarinacci added the enhancement New feature or request label Mar 27, 2019
@joshmarinacci joshmarinacci added this to the sprint1 milestone Apr 10, 2019
@joshmarinacci joshmarinacci added the performance a fix which would improve performance label Apr 16, 2019
@joshmarinacci joshmarinacci removed this from the sprint1 milestone Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance a fix which would improve performance
Projects
None yet
Development

No branches or pull requests

1 participant