Skip to content

ahuertam/threejs-hex-map

 
 

Repository files navigation

threejs-hex-map

Build Status

A simple 3D hexagonal terrain map based on three.js.

Screenshot

MARS trials

  • Usar el ejemplo basicMap
  • Hay que compilar primero para actualizar los cambios y luego arrancar el servidor
  • Nuevos controles wasd para mover la vista y o para crear un objeto.

Overview

  • hexagonal tiles flat land, hills, mountains,and rocks
  • one texture atlas each for terrain textures
  • blending mask texture for transitions between tiles
  • two-tier fog of war like in Civilization

Usage

For an example check out the code in examples/random. To test it in the browser simply npm start and open http://localhost:3000/examples/random/.

About

A simple 3D hexagonal terrain map based on three.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.7%
  • Python 1.4%
  • Other 0.9%