Hi everyone! I've created a little example application that displays a hexmap. What do you think?
BTW, tiles are from Battle for Wesnoth.
[Sample] Hexmap
Re: [Sample] Hexmap
Nice work. Nice graphics also. What kind of game uses hexagonal tiles? I really don't know... Maybe strategy games? By the way, you could add simultaneous horizontal/vertical scrolling.
Re: [Sample] Hexmap
Thanks! Hexagonal tiles are used in some strategy and war games. And what's about scrolling? I thought it's working alright.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: [Sample] Hexmap
The scrolling's working fine. When your game progresses further, you could try and jazz it up a bit, but it isn't bad or anything right now.GreenMan wrote:And what's about scrolling? I thought it's working alright.
Hexagonal tiles are less straightforward to use than squares, I think, but they probably have some advantages as well.
Help us help you: attach a .love.
Re: [Sample] Hexmap
I prefer middle-mouse-drag-n-drop in some games. I think something like that somehow fits hexmaps.. maybe maps with tiles as a whole.
Otherwise I do not see a problem with scrolling.
By the way, what about zooming?
Otherwise I do not see a problem with scrolling.
By the way, what about zooming?
- Sardtok
- Party member
- Posts: 108
- Joined: Thu Feb 21, 2008 2:37 pm
- Location: Norway/Norge/諾威/挪威 (Yes, I'm teh back!)
- Contact:
Re: [Sample] Hexmap
Hexagonal tiles are used in a lot of strategy games, because the distance from on tile to the next is always the same.
For squares diagonal moves are either illegal or legal. If they are illegal, it takes two moves to move to a square that is diagonal to the current square. If it is legal, you can speed up movement by moving diagonally, because the diagonal move covers about 1.42 times the distance.
Of course, with hexagonal tiles, you can't move east–west.
EDIT:
Well, hexagonal tiles translates badly to compass points.
The true advantage lies in there being no contact between tiles in corners.
For squares diagonal moves are either illegal or legal. If they are illegal, it takes two moves to move to a square that is diagonal to the current square. If it is legal, you can speed up movement by moving diagonally, because the diagonal move covers about 1.42 times the distance.
Of course, with hexagonal tiles, you can't move east–west.
EDIT:
Well, hexagonal tiles translates badly to compass points.
The true advantage lies in there being no contact between tiles in corners.
Take off every Zigg for great rapist.
Now, outgay that!
Now, outgay that!
Who is online
Users browsing this forum: No registered users and 0 guests