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.
The [GH Pages build from two months ago](https://github.com/kpreid/cubes/runs/917244314) failed, so https://kpreid.github.io/cubes/cubes.html still has an older version of the code which errors with `TypeError: context.listener.setVelocity is not a function`.
In the current design, the rotation of a block is a function (computed by a circuit in the block) of the state of the block, and so it is not...
lovely! I've adapted this for my own code: http://stackoverflow.com/a/17496872/15721 Here's some issues I looked at when porting: 1) rather than a ray, treat it as a line segment. Then clip...
When I tried Cubes on Firefox Mobile on my Galaxy Nexus on September 18, 2012 (I didn't catch what the version was), I got this shader compile failure: ``` Error:...
The system for rotating blocks when they are placed should be made more flexible. The current system chooses the best of a set of allowed orientations, according to the alignment...
The `indicator` circuit behavior does something impossible. Specifically, it alters the world as the result of a circuit it is in. However, IC blocks which use `become` or `setRotation` will...
Shaders and such are fetched using URLs constructed by concatenation; proper relative URL resolution should be used instead. Here is a JavaScript implementation of such: https://gist.github.com/1088850 Another possibility is to...
Add to the default world generation objects objects which produce significant shadows. This is tricky because of the high amount of diffuse reflection. Possibilities: - Make the outside illumination directional,...
Block worlds have no light initialization (as of commit 612e8c315558baa5b81fa580b98d97bc96b65aa9). Furthermore, their geometry is often such that there are few reflections, so it doesn't fix itself quickly. There should be...
There should be an index of what persisted objects refer to a given persisted object, so that that object may not be deleted without replacing its usage in its referrers.