Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Voxel Tetris by @tatarize | |
// Click the board side to make the piece go that way. | |
// Click something on the board (eg, the falling piece) to make it turn. | |
// Turns are currently logged counter clockwise/counter-clockwise depending on the height you clicked at. | |
var createGame = require('voxel-engine') | |
var chunkSize = 32 | |
var chunkDistance = 3 | |
var game = createGame({ |
NewerOlder