MapTool ... has ... HEXES !
With 1.0 tagged and waiting for release, I've gone forward with development. And the first item of business is implementing hexes.
I ripped out all the square grid specific code and put it behind a Grid interface as SquareGrid, and implemented a HexGrid.
Now, it's still super rudamentary, but it works. Right now it is only an overlay. It doesn't do snap to grid, or pathing, or keystroke movement, or templates. And it doesn't scale, at the moment. And you cant' change its size. But it works ! The rest is just fine tuning.
Right now it has the points going horizontal, but once that is working rotating it 90degrees will be fairly trivial.
The introductory code is in SVN (version control), but won't hit the development version on the website until after 1.0 is released. By that time, I think I'll have a lot of the features working.
Thought you guys might like to know that it's really, really, really close now (I think it's the longest running tracker).
Shhhhhhh don't tell anyone ....
Moderators: dorpond, trevor, Azhrei
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
Shhhhhhh don't tell anyone ....
Dreaming of a 1.3 release
-
- Dragon
- Posts: 780
- Joined: Tue Jan 31, 2006 9:01 pm
- Location: Beneath the Aurora Borealis
- Contact:
Re: Shhhhhhh don't tell anyone ....
trevor wrote:MapTool ... has ... HEXES !
Now I can do unbounded star maps for space combat!!!
-
- Dragon
- Posts: 780
- Joined: Tue Jan 31, 2006 9:01 pm
- Location: Beneath the Aurora Borealis
- Contact:
Re: Shhhhhhh don't tell anyone ....
Yep... Been watching it like the stock markettrevor wrote:I think it's the longest running tracker
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
Ok, got the scaling of the hexes working, so you can zoom and the hexes stay true to their location. Next is the fairly straightforward calculation from cell coords to zone coords, and we should have everything to make snap to grid work.
From there it's on to pathing, which shouldn't be too much of a stretch.
I think I'll stop at that point so you guys can check my work and make sure I'm headed the right direction.
So while you guys play with the hexes, I'll be cranking out some of the other features. I'm hoping to start publishing the new development releases starting next week (first week of May).
From there it's on to pathing, which shouldn't be too much of a stretch.
I think I'll stop at that point so you guys can check my work and make sure I'm headed the right direction.
So while you guys play with the hexes, I'll be cranking out some of the other features. I'm hoping to start publishing the new development releases starting next week (first week of May).
Dreaming of a 1.3 release
-
- Dragon
- Posts: 780
- Joined: Tue Jan 31, 2006 9:01 pm
- Location: Beneath the Aurora Borealis
- Contact:
See! It's not just mePhergus wrote:Hate to complain but you are aware that they are stretched a wee bit in the vertical axis?
http://forums.rptools.net/viewtopic.php?t=198