Skip to content

RedFT/HexTiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexTiler

An example hexagon tiling application showcasing the Hexy library.

Alt text

Prerequisites

You need to have python2.7, pygame, and numpy installed.

Using HexTiler

To run the application, execute the hex_tiler.py file.

python2 hex_tiler.py
  • load tilesets with i.
  • load tilemaps with l.
  • save tilemaps with s.
  • < to shift selected tile left.
  • > to shift selected tile right.
  • left click to set a tile.
  • right click to remove a tile.
  • middle click and drag to move camera around.
  • up arrow, down arrow, left arrow, right arrow will also move the camera.

I've included a sample tileset in assets/ called hexes.png. To load it, press i, navigate and open to assets/hexes.png. Click around on the screen to start placing tiles.

I've also included some sample maps in assets/ as well. To load them, press l, navigate to assets/ and load any of the files with the extension .json.

Authors

  • Norbu Tsering

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Example Hexagon Tiling Application Using Hexy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages