cubes
cubes copied to clipboard
Block-based WebGL game engine where the blocks are made out of blocks. Trying not to be yet another Minecraft clone.
Place a light source on flat ground, and the pattern of light immediately surrounding it has 180° but not 90° symmetry. This is not an intended result.
There a number of things which we could preload incrementally to avoid delays the first time the player takes an action. It would be nice to have a general framework...
The code is inconsistent in these issues: - ‘blockset’ or ‘blockSet’? **Fixed** - Is the element of a world's data array a ‘block’, a ‘blockID’, or a ‘value’? - Is...
The normal vector attribute is used as a flag indicating whether to perform lighting. This means that non-directional geometry (e.g. flat particles, circuit debug rays) cannot be lit. The “don't...
We have successfully used emulated 3D textures to render lit geometry. Try stuffing the entire world's lighting in a texture and doing the light-update raycasting inside a fragment shader; if...
There should be a way to interact with an existing block, triggering circuits in it. In Minecraft, this is done by right-clicking on a block; but this makes it impossible...
The UI should make it possible to - Create a new saved blockset. - Replace the blockset in a world. - Create a world with a unique (unsaved) blockset. ---...
The content of the [circuits manual](https://github.com/kpreid/cubes/wiki/Circuit-reference-manual) should be incorporated into the game. (Not necessarily as text; could be an exhibition world.)
We need specific rules for circuit values and operations on them so that we don't end up dragging in the entirety of JavaScript by accident. Define: - The set of...
The “Add circuit blocks” function assumes that block type #1 is a world block with an appropriate blockset. This is a bad assumption. We could search for the first available...