Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryepup/rpd-hexmap
library to draw and work with hexagonal maps in SDL
https://github.com/ryepup/rpd-hexmap
Last synced: about 1 month ago
JSON representation
library to draw and work with hexagonal maps in SDL
- Host: GitHub
- URL: https://github.com/ryepup/rpd-hexmap
- Owner: ryepup
- Created: 2010-05-02T02:24:15.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-07-12T03:32:47.000Z (over 14 years ago)
- Last Synced: 2024-04-08T17:10:43.591Z (9 months ago)
- Language: Common Lisp
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
#+TITLE: hex map
* drawing
** DONE define hex map in terms of rows/columns, calculate multiplier from there
CLOCK: [2010-07-05 Mon 17:11]--[2010-07-05 Mon 18:04] => 0:53
Also split out x vs y multiplier
* modeling
** use cl-graph to model the hexmap
1. after drawingbuild up row/column and x/y for each hex, then loop over building vertex/edges afterwards?
2. before drawing
use the row/col limits to generate the graph first, then walk the graph to draw the map?* interaction
** highlight a hex on mouseover
** highlight hexes with a given radius
* source code
** refactor in /src folder
** use unwind-protect in with-hexmap
** tests?
** logging framework