• Stars
    star
    178
  • Rank 214,989 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

alt tag

More Repositories

1

gorss

Go Terminal Feed Reader
Go
391
star
2

voxelengine3

Voxel-engine in Javascript
JavaScript
330
star
3

wizardwarz

WebGL Multiplayer game with NodeJS backend
JavaScript
292
star
4

bintris

Binary Tetris
Go
155
star
5

vox2

Simple POC of PCG voxel-engine
JavaScript
142
star
6

gizmo

2D Pixel Destruction Game written in Go.
Go
138
star
7

Qake

Qake voxel-engine demo
JavaScript
132
star
8

voxelengine_urho3d

Voxel engine in C++ using Urho3D
C++
107
star
9

badsanta

BadSanta - Multiplayer HTML5 Game (http://santa.qake.se)
JavaScript
100
star
10

ParrotHunt

ParrotHunt - ThreeJS WebGL game (http://parrothunt.nergal.se)
JavaScript
91
star
11

doit

Simple Todo List - Wunderlist Replacement
Vue
80
star
12

rpicam

Raspberry PI Surveillance Automation
Shell
76
star
13

DungeonGenerator

Dungeon generator for games.
Perl
69
star
14

fireworks

WebGL Fireworks in VR
JavaScript
40
star
15

voxelengine_unity

Voxel engine made in C# for Unity
C#
39
star
16

spinc

Spark In Console - Cisco (WebEx)Spark Client for Linux/MacOS
Go
21
star
17

SavingNemo

SavingNemo - ThreeJS WebGL game with nodejs backend.
JavaScript
21
star
18

moonshot

Moonshot GitHubGameOff 2020 contribution
Go
16
star
19

smhialert

Home Assistant SMHI Warnings & Alerts
Python
10
star
20

hass-unifi

Unifi Person Detection with Home Assistant integration
Python
6
star
21

openfaas-demo

OpenFaaS demo using Function as a Service and object storage
Ruby
3
star
22

gruntbase

Grunt template for server/client NodeJS dev. environment.
JavaScript
2
star
23

varnish-visualizer

Varnish hit/pass visualisation in WebGL.
JavaScript
2
star
24

googlehome

Google Home (Assistant) Automation With NetHomeServer
Ruby
1
star
25

hydroponic

Hydroponic automation with ESP32 and sensors
C++
1
star
26

pointcloud

ThreeJS point cloud experiment
JavaScript
1
star