Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

What size (in pixels) are the hexes you use and what is the line width (in pixels). I'm making it so that a click the map (im using the standard export PNG) can be converted into a hex coordinate ?

Internally the hex radius (the distance from its centre to any of its vertices) is 50 and the line widths (there are several types of them) are defined in the Style dialog. I don't think all this is very useful because in exported images different values are used depending on the map size.

(+1)

Yeah. Kind of figured. Got it working with 1800x1800 pretty well in both pointy and flat- (found the proper origin and size with a little bit of elbow grease and brute force :D) and can click on the bitmap and get the hex id. 

It took 2 days (!) to get VSCode and Haxe Lime/OpenFL to behave, but now its going along.....

Processed the JSON and got the data in the hexes (terrain, roads, rivers, features etc). Working on the interface (html5 of course) which is new to me so its taking time (besides building up my library of routines or converting them from older stuff ive done that I can use). Still need to validate that its generating the hex data properly.  

Hope to get to where I can work on the fog layer and movement/etc soon.

As I say to those who 3D resin prints for the 1st time, its the journey, not the destination :D