hex grids
I am trying to design a game like panzer general and I need a hex background to start with and I want to use windows graphics to draw it
Just a quick hint.
For beginners, it's often easier to draw a square grid map where the squares happen to have 6 neighbors [like the old Imperialism games if you've played them]
For beginners, it's often easier to draw a square grid map where the squares happen to have 6 neighbors [like the old Imperialism games if you've played them]
If you're looking for people to write your code for you then you've come to the wrong place. What exactly is it you want help with?
-------------"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."- Charles Babbage (1791-1871)
Not sure if this will be useful, but Amit's Game Programming Information site has some articles on hex grids, and if you look in his games section you can download the source code for a game he wrote that uses a hex grid.
There is also this article written by TANSTAAFL which looks like it could be what you need.
Give us more details and we'll be able to help you more.
There is also this article written by TANSTAAFL which looks like it could be what you need.
Give us more details and we'll be able to help you more.
Here's another link with a little bit more info on hexagonal and isometric tiles.
Are you in any way limited to using only GDI or can you use GDI+? If you are not planning support for Windows 2000 or older, I suggest using GDI+. It's object oriented and very easy to set up and work with (and has tons of features).
You can find more info about it here.
More info about GDI is here.
You can find more info about it here.
More info about GDI is here.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement