Divine Voxel Engine - Voxel Engine Made With Babylon.js - Alpha 1.0 Out Now

All right so I was able to port all test worlds from electron to the github page:
https://divine-star-software.github.io/DVE-Examples/

I figured out if set “crossorigin” equal to “anonymous” on the script tag you can use Shared Array Buffers without changing the headers of the file served. Though it seems to work only on windows machines and some reason on android phones. Maybe Macs have some extra security features I don’t know about…

However eventually you will be able to log onto the test server from this site. Should be pretty cool once I get that all figured out.

If you want to have fun with it and build/destroy stuff just go to the “Dream Space” world.

The controls are:
WASD - movement
Space Bar - jump
z - brings up voxel select screen
left mouse button - break voxel
right mouse button - place voxel
shift + right mouse button - explode area

Over the weekend I was even able to make breaking/adding voxels so much faster. I realized the way I was doing it was kind of in-efficient. Now it all feels instantaneous even when placing lights down.

Also, over the weekend I did for the first livestream of me working on the engine. Had someone ask me to add explosions so I did that:



Was not too hard. Just a BFS algorithm with a distance check to keep it in the radius specified.

4 Likes