├── .gitignore ├── README.md ├── gfx ├── blocks.png ├── crosshairs.png └── guy.png ├── gimp ├── blocks.xcf ├── crosshairs.xcf └── guy.xcf ├── index.html ├── save └── .gitkeep ├── screenshots └── 2020-04-07.jpg ├── server.sh ├── server ├── Client.js └── main.js ├── sfx └── jump.ogg └── src ├── blocks.js ├── body.js ├── bone.js ├── buffer.js ├── camera.js ├── chunk.js ├── controller.js ├── crosshairs.js ├── debugger.js ├── display.js ├── generator.js ├── main.js ├── map.js ├── math.js ├── matrix.js ├── mesher.js ├── mob.js ├── model.js ├── picker.js ├── server.js ├── shader.js ├── sky.js ├── speaker.js ├── texture.js └── vector.js /.gitignore: -------------------------------------------------------------------------------- 1 | save/chunk_* 2 | deno 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/README.md -------------------------------------------------------------------------------- /gfx/blocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gfx/blocks.png -------------------------------------------------------------------------------- /gfx/crosshairs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gfx/crosshairs.png -------------------------------------------------------------------------------- /gfx/guy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gfx/guy.png -------------------------------------------------------------------------------- /gimp/blocks.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gimp/blocks.xcf -------------------------------------------------------------------------------- /gimp/crosshairs.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gimp/crosshairs.xcf -------------------------------------------------------------------------------- /gimp/guy.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/gimp/guy.xcf -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/index.html -------------------------------------------------------------------------------- /save/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /screenshots/2020-04-07.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/screenshots/2020-04-07.jpg -------------------------------------------------------------------------------- /server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/server.sh -------------------------------------------------------------------------------- /server/Client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/server/Client.js -------------------------------------------------------------------------------- /server/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/server/main.js -------------------------------------------------------------------------------- /sfx/jump.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/sfx/jump.ogg -------------------------------------------------------------------------------- /src/blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/blocks.js -------------------------------------------------------------------------------- /src/body.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/body.js -------------------------------------------------------------------------------- /src/bone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/bone.js -------------------------------------------------------------------------------- /src/buffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/buffer.js -------------------------------------------------------------------------------- /src/camera.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/camera.js -------------------------------------------------------------------------------- /src/chunk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/chunk.js -------------------------------------------------------------------------------- /src/controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/controller.js -------------------------------------------------------------------------------- /src/crosshairs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/crosshairs.js -------------------------------------------------------------------------------- /src/debugger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/debugger.js -------------------------------------------------------------------------------- /src/display.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/display.js -------------------------------------------------------------------------------- /src/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/generator.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/main.js -------------------------------------------------------------------------------- /src/map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/map.js -------------------------------------------------------------------------------- /src/math.js: -------------------------------------------------------------------------------- 1 | export function radians(d) 2 | { 3 | return d * Math.PI / 180; 4 | } 5 | -------------------------------------------------------------------------------- /src/matrix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/matrix.js -------------------------------------------------------------------------------- /src/mesher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/mesher.js -------------------------------------------------------------------------------- /src/mob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/mob.js -------------------------------------------------------------------------------- /src/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/model.js -------------------------------------------------------------------------------- /src/picker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/picker.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/server.js -------------------------------------------------------------------------------- /src/shader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/shader.js -------------------------------------------------------------------------------- /src/sky.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/sky.js -------------------------------------------------------------------------------- /src/speaker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/speaker.js -------------------------------------------------------------------------------- /src/texture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/texture.js -------------------------------------------------------------------------------- /src/vector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guckstift/voxel-game-js/HEAD/src/vector.js --------------------------------------------------------------------------------