Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

VoxLords

> 编程语言
Open source

VoxLords - ThreeJS WebGL game with a simple voxel engine

198 stars0 likes3 views
WebsiteGitHub

About

VoxLords - ThreeJS WebGL game with a simple voxel engine

VoxLords

Play the game here: http://voxlords.webgl.nu

Also on Chrome Experiments: https://www.chromeexperiments.com/experiment/voxlords

A little game engine test: http://threejs.webgl.nu

Description

VoxLords is a ThreeJS WebGL game with a simple voxel engine. It also provides a implementation for loading .vox files that are created with MagicaVoxel (https://voxel.codeplex.com/).

The code is free to use but I would appreciate if you give me credit when using it.

The code has NOT been polished and is provided "as is". There are a lot of code that are redundant and there are tons of improvements that can be made.

I haven't had time to create some description of the code layout but if you have any questions, feel free to contact me ([email protected]).

The game implements the following (and more):

  • Voxel engine with chunks
  • Basic greedy algorithm for optimizing chunks
  • Sound loader with volume based on length to objects
  • Basic block physics
  • Voxel explosions
  • Reading game maps from PNG image files
  • ".vox" file loading into chunks
  • etc..

Testing

Install nodejs and run "cd server; nodejs server.js". Then point your browser to http://localhost:8081

Screenshot

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptgamedevindiedevthreejs-webgl-gamevoxel

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言