Voxel Project
Each voxel is made up of these pieces. Each piece represents an 8th of a voxel.
Logic of Connected Parts
To determine which pieces to use, it starts by checking the if voxels around it are on and the same color. It then goes through and picks one of 63 possible combinations using binary notation. (a 64th (111111) wouldn't make any mesh since all sides are covered). Then it builds the mesh that represents the voxel in every affected block.
Level Building
This game was originally intended to be a 3D platformer where you build levels you’d play with your friends.
The level builder besides a few glitches and a lack of custom UI graphics is fairly complete. It's separated into different modes.
• Modes
Build - build platforms with voxels
Move - move voxel buildings around and set start and end points for moving platforms
Delete - delete platforms
Item - place collectable items around
Action - the level acts as if it were playing for testing purposes