Author Topic: Drawing hex maps VB.Net  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

Offline welchbloke (OP)

  • Vice Admiral
  • **********
  • Posts: 1044
  • Thanked: 9 times
Drawing hex maps VB.Net
« on: December 11, 2012, 02:31:40 PM »
Hi all, just for fun I've been teaching myself VB.Net recently.  I'm in the process of creating myself a play-aid for one of my board games and I'd like to create a hex map.  Can anyone provide some tips or direct me to some good resources?

I've not been playing Aurora much but I have been reading some of the AARs to all of you posting AARs - Keep it up I've been enjoying them  :)

Welchbloke
Welchbloke
 

Offline Erik L

  • Administrator
  • Admiral of the Fleet
  • *****
  • Posts: 5654
  • Thanked: 366 times
  • Forum Admin
  • Discord Username: icehawke
  • 2020 Supporter 2020 Supporter : Donate for 2020
    2022 Supporter 2022 Supporter : Donate for 2022
    Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Re: Drawing hex maps VB.Net
« Reply #1 on: December 11, 2012, 04:56:00 PM »
http://www.codeproject.com/Articles/14948/Hexagonal-grid-for-games-and-other-projects-Part-1

Code is in C#, but looks easy enough to convert.

You want hard, try converting XNA C# code to VB. That is guaranteed to give you a headache.

fecking XACT.
 

Offline Erik L

  • Administrator
  • Admiral of the Fleet
  • *****
  • Posts: 5654
  • Thanked: 366 times
  • Forum Admin
  • Discord Username: icehawke
  • 2020 Supporter 2020 Supporter : Donate for 2020
    2022 Supporter 2022 Supporter : Donate for 2022
    Gold Supporter Gold Supporter : Support the forums with a Gold subscription
    2021 Supporter 2021 Supporter : Donate for 2021
Re: Drawing hex maps VB.Net
« Reply #2 on: December 11, 2012, 06:40:00 PM »
Actually, should ask. Top down or isometric?

That link is for top-down.
 

Offline welchbloke (OP)

  • Vice Admiral
  • **********
  • Posts: 1044
  • Thanked: 9 times
Re: Drawing hex maps VB.Net
« Reply #3 on: December 12, 2012, 03:54:27 AM »
Actually, should ask. Top down or isometric?

That link is for top-down.
Top down.  I haven't had a chance to look yet but thanks for the steer Erik.
Welchbloke