Skip to main content
19 events
when toggle format what by license comment
Nov 10, 2020 at 3:47 answer added user144953 timeline score: 0
Jan 19, 2020 at 18:34 vote accept CommunityBot
Aug 23, 2019 at 15:04 history edited user124120 CC BY-SA 4.0
added 8 characters in body
Aug 10, 2019 at 23:48 vote accept CommunityBot
Aug 23, 2019 at 15:01
Aug 10, 2019 at 23:47 vote accept CommunityBot
Aug 10, 2019 at 23:47
S Jul 19, 2019 at 18:40 history suggested Diego Penha CC BY-SA 4.0
Fix punctuation and misspelling
Jul 19, 2019 at 13:35 review Suggested edits
S Jul 19, 2019 at 18:40
Jul 17, 2019 at 21:53 history edited user124120 CC BY-SA 4.0
added 298 characters in body
Jul 17, 2019 at 15:21 history edited Philipp
edited tags
Jul 17, 2019 at 15:15 vote accept CommunityBot
Aug 10, 2019 at 23:47
Jul 17, 2019 at 11:36 answer added Philipp timeline score: 6
Jul 16, 2019 at 20:43 comment added Ocelot So your chunk layout is a 2D grid. What stops you from moving chunks around in the array? You know how to use pointers, right? Make an array of pointers of your chunks, so you can move them around in the array. Then you would be able to displace chunks in the grid in a way that the chunk player is standing on will be the chunk in the center of the grid and then you would be able to load additional chunks at the the edges of the grid when needed.
Jul 16, 2019 at 20:28 comment added user124120 @Ocelot Each chunk would be a 3 dimensional array of blocks, and what that means is if I store chunks as a 2 dimensional array of 3 dimentional arrays, I cannot guarantee that all chunks will be together, and of the player is far from chunk 0, 0, the 2 dimensional array would not start at 0.
Jul 16, 2019 at 20:25 review Close votes
Jul 21, 2019 at 3:05
Jul 16, 2019 at 20:22 comment added Ocelot There is not enough context provided so question makes no sense to me. Code is irrelevant and there is almost no information related to the structure of chunks and their layout rules. What does "loaded chunks might be seperate and not start at zero" even mean?
Jul 16, 2019 at 20:07 comment added user124120 @Ocelot What do you mean
Jul 16, 2019 at 20:05 comment added Ocelot A struct? How is your data structured? What have you tried so far? Did you generate chunks yourself?
Jul 16, 2019 at 20:03 history edited user124120 CC BY-SA 4.0
deleted 1 character in body
Jul 16, 2019 at 19:57 history asked user124120 CC BY-SA 4.0