It works fine for me on 9x9x9 chunks. In fact, lag is caused by chunk loading. I should fix this.Which equals 144^3 potential cubes. Probably (144^3)/2 cubes.Most cubes are invisible.On an almost flat world, there will be 1 cube per x,z coordinate. The cube would have around two faces visible on average.

(144^2)x2 = 41472 faces on an almost flat world.

As for simplex noise generation, I'm still looking for a way to have sections of flat and mountains.You could try multiplying two (or more) octaves (between 1 and -1) and multiplying that by the height.

- World Size: 512x256x512- RAM Usage: ~300MB if I use bytes for world storage. ~800MB if I use ints.- CPU Usage: ~15%

How did I do it?

Two words: Greedy Meshing.

There are a few lighting bugs to fix due to the change, but it works very, very well.

I have had a few different idea on where I should actually go with this game. Sandbox? Survival? Adventure-RPG? etc.At the moment I'm leaning towards RPG (after seeing that Cube World is now available)

Need to do a bit of work on shaders atm. Especially SSAO.

Oh, by the way, this is my third voxel engine since the start of this project.

Still working on this, fun! When my project is finished I will maybe jump also in 3D..

Cube World is really nice game, however, it has really bad sides... You almost don't level up, 2 full days gaming is level 6, you have to be level 300 to be slightly able to do a boss (Oh wait! Its just me, Im noob)... And if you join a multiplayer world, you are level 500 in two seconds, because if others do a boss 99999 kilometers away, you get the experience points also... So the experience systemshit is on all sides the worst (my opinion).And it gets a big bit boring / taking too long / everything is the same... I only like the veeryyyyy cool graphics.

Cube World is really nice game, however, it has really bad sides... You almost don't level up, 2 full days gaming is level 6, you have to be level 300 to be slightly able to do a boss (Oh wait! Its just me, Im noob)... And if you join a multiplayer world, you are level 500 in two seconds, because if others do a boss 99999 kilometers away, you get the experience points also... So the experience systemshit is on all sides the worst (my opinion).And it gets a big bit boring / taking too long / everything is the same... I only like the veeryyyyy cool graphics.

I've had problems with CubeWorld, too.

I started playing CubeWorld with a friend, he was mage (healing) and I was Rough, making all the damage and stunning the enemy all the time (which turned out to be the very best combo of classes in the game... we were lucky...).It takes a lot of time to get from level 1 to level 2, because you can almost only kill enemies, which give you 1 ep (and you need 50), additionally killing an enemy takes a long time and you often die and get no ep at all.

At about level 5 or 6 (I'd say) it got pretty easy. We started doing dungeons, exploring the world and getting tons of ep. It was the most fun part of the whole game. Also, the ep you get on the servers accross the whole map are quests. They give you from 500 to thousands of ep, depending on the level of the best player on the server (I guess? somehow like that).

It stays very fun until about level 32. Then we started creating another player, who stays in the village in an Inn all the time and resets the world when we kill a boss, and our normal characters which killed all the bosses while staying at the same position all the time and resetting until the boss respawned and was a quest, which gave us insanely much ep in a very short time.

I became level 124 in about an hour. It wasn't fun then anymore, because the effects your skills have are inverse exponential. If you have every skill on level 40 and you level them up a level there is probably a 0.1% difference. Also your power, which is the identifier which says you which armor and weapons you can equip. The power level rises inverse exponentially too. So at about power 80, you won't get power that much anymore (only like every 10 levels...) and you need to be level 1000+ to have power 99 and level 4.000.000.000+ to have power 100 ( -.- ).

Cube World is really a mess when it comes to balancing. Very, very, very not fun because of that. But the period from level 6 to level 32 however, was pretty good and really fun

That code is wrong. It was from the first evolution of the engine, and wasn't completely finished (although it did work lots of the time). I removed it in the later versions of the engine.

The problem was that the concept was designed for 2D, where there are only 2 axes to check. When rhere are 3, it creates the problem of finding the order in which the ray crosses the axes.

It was also a quick hack, which explains the useless objects.

As for the bug (missing the y side collision), unless I uploaded a buggy version of the code it should work. It (should) check the y coordinates from x to x+1, and if they are different, detect a collision on that face.However, I can't be sure if the code works as intended, as the Z-axis made things a mess.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org