Tag Info

New answers tagged

2

Tekkit (a popular minecraft mod) does this by allowing players to build anchors that keep a few blocks around them in memory regardless of player proximity. It might be a good choice if there is clear distinction between dynamic blocks that require the presence of the player (an automatic door) and others that don't (a generator of some sort). ...


0

I've got three comments: Pathfinding, etc, should be tree-aware Checking to see if a block is loaded is cake The client and server will handle unloaded data differently Tree Aware You've mentioned that you're storing data in 16x16x16 chunks. Pathfinding and world interaction should operate on those chunks (in addition to their contained blocks). For ...


1

I would mention a few specific games (such as Stonehearth, which is where most of the Qubicle character images come from) but there are a ton of games, art (e.g. on DeviantArt), demos, movies, etc that use different styles. Hence, I suggest an image search. Search for voxel characters, blocky characters, and "qubicle" characters. (Yes, put "qubicle" in ...


3

In Minecraft, circuits in unloaded chunks simply do not work. Especially with pistons and other ways of interacting with the environment, it could get expensive quickly to keep far-away circuits running in an infinite world. I see three main possible choices for your game: Keep all chunks loaded. This is just a big nope. Keep nearby chunks loaded. For ...


14

What you need to do is separate terrain from live blocks. For example you could store the live blocks in a dictionary that uses a point as key. And then unload the terrain. This way your live blocks stay in memory in a way you see fit, and you can still look them up based on position, but the terrain is stored on disk for later retrieval. This will increase ...


0

One possibility is to sample the rainfall/temperature maps at the center of each Voronoi cell, and then assigning that biome to each point within the cell. The biome edges can then be made more interesting by distorting the map, so that they aren't straight lines. This can be made "functional", because you can compute which Voronoi cell you are in after ...



Top 50 recent answers are included