fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.39k stars 1.39k forks source link

Maximum world size? #264

Open ChillerDragon opened 4 years ago

ChillerDragon commented 4 years ago

Is there a official maximum world size or border? Things get trippy when using commands like /pq 99000 99000

Screenshot from 2020-05-28 13-10-06 Screenshot from 2020-05-28 13-10-58 Screenshot from 2020-05-28 13-11-12 Screenshot from 2020-05-28 13-11-21

fogleman commented 4 years ago

Yeah, I didn't do anything special to deal with large coordinates, so floating point error becomes a problem far from the origin.

ChillerDragon commented 4 years ago

oh wow, maybe just like the real minecraft, you know computers can't count inf numbers.

Yea sure and minecraft used to have its bugs but today they seem to handle it well.

Yeah, I didn't do anything special to deal with large coordinates

What about going with the minecraft way and having a world border that makes sure nobody goes too far.

Far117 commented 4 years ago

I think just like the farlands, having trippy visuals so far from the origin could be a sort of reward for walking out that far. Imagine how many people would have missed out on something cool if Minecraft walled you in before you could see the farlands.

ChillerDragon commented 4 years ago

I think just like the farlands, having trippy visuals so far from the origin could be a sort of reward for walking out that far. Imagine how many people would have missed out on something cool if Minecraft walled you in before you could see the farlands.

Yes I get your point. But its not such a big reward when you get stuck. In minecraft there is some interesting terrain generation going on but here in Craft you can hardly move. So it can happen that you somehow get that far and then you are trapped :/