Page 1 of 1
Navigating maps
Posted: Sat Feb 28, 2009 9:48 pm
by Peter Hickman
This is just a little experiment to generate a random map and navigate around it. All very basic. Clicking in either map window will refocus the map on the selected area and the arrow keys will move the map one tile at a time.
Hopefully the love file will be usable for those not blessed with Macs
Re: Navigating maps
Posted: Sat Feb 28, 2009 10:09 pm
by Skofo
Whoaa, that is
too neat!
:
I commend your procedural generation/map coding skillz!
Re: Navigating maps
Posted: Sun Mar 01, 2009 5:39 am
by Xcmd
Awesome. I really dig the retro feel to the entire thing, although it's a tad slowish for me.
But was the .zip-ing really necessary? It's one more step before I can play it.
Re: Navigating maps
Posted: Sun Mar 01, 2009 8:50 am
by bartbes
Nice!
@Xcmd: What? You're double-clicking LÖVE files? Pffff... Only thing that was 'wrong' with this package was the extension, wasn't too bad was it? I thought I had to unpack some more. (Linux doesn't care about extension, if set up properly). (Don't take this serious btw)
Re: Navigating maps
Posted: Sun Mar 01, 2009 9:01 am
by Voker57
bartbes wrote:Nice!
@Xcmd: What? You're double-clicking LÖVE files? Pffff... Only thing that was 'wrong' with this package was the extension, wasn't too bad was it? I thought I had to unpack some more. (Linux doesn't care about extension, if set up properly). (Don't take this serious btw)
In fact, Linux thinks that this is zip file while not taking extension in account, and opens it as zip archive (as it in fact is one). And double-clicking still works only if package has .love extension.
Re: Navigating maps
Posted: Sun Mar 01, 2009 9:08 am
by Voker57
The look of this map tempts me to begin to wage wars/earn resourses on these isles, awesome.
Re: Navigating maps
Posted: Sun Mar 01, 2009 10:14 am
by Robin
Very cool, and I second Voker57's comment
. Makes me itch to make a retro RTS with it.
Re: Navigating maps
Posted: Sun Mar 01, 2009 10:16 am
by Peter Hickman
Voker57 wrote:The look of this map tempts me to begin to wage wars/earn resourses on these isles, awesome.
I'm torn between going completely retro with an Empires clone, which would be so much easier, or heading towards a Civ clone.
Re: Navigating maps
Posted: Sun Mar 01, 2009 10:44 am
by appleide
This is pretty impressive
I'd go for the Empires clone since its much much easier. It took a whole team months/years to do Freeciv...
Re: Navigating maps
Posted: Sun Mar 01, 2009 11:03 pm
by osuf oboys
Peter Hickman wrote:This is just a little experiment to generate a random map and navigate around it. All very basic. Clicking in either map window will refocus the map on the selected area and the arrow keys will move the map one tile at a time.
Hopefully the love file will be usable for those not blessed with Macs
Hi, regarding the map generator. How about keeping track of the height of the terrain instead of the terrain type and converting it later? (or keeping it for shadows) This should make it easier to produce maps that have both large and small isles, areas with plenty of land and areas with very little. Fairly sophisticated generators can be found by looking at e.g. the civilization games.
Your method of generating maps reminds me of Bouzy maps, popular in e.g. chess and computer go.
The drawing is much faster if you replace the images with rectangles of the same colour. The drawing will hopefully be more efficient some time in the future.