Showcase your libraries, tools and other projects that help your fellow love users.
-
Peter Hickman
- Prole
- Posts: 15
- Joined: Fri Jan 30, 2009 8:19 am
Post
by Peter Hickman » Sat Feb 28, 2009 9:48 pm
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

-
Attachments
-
- map.love.zip
- Simple map navigation
- (4.03 KiB) Downloaded 251 times
-
Skofo
- Party member
- Posts: 146
- Joined: Mon Dec 22, 2008 10:55 pm
Post
by Skofo » Sat Feb 28, 2009 10:09 pm
Whoaa, that is
too neat!

:
I commend your procedural generation/map coding skillz!

-
Xcmd
- Party member
- Posts: 211
- Joined: Fri Feb 13, 2009 10:45 pm
Post
by Xcmd » Sun Mar 01, 2009 5:39 am
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.
We don't borrow, we don't read, we don't rent, we don't lease, we take the minds!
-
bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
-
Contact:
Post
by bartbes » Sun Mar 01, 2009 8:50 am
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)
-
Voker57
- Prole
- Posts: 29
- Joined: Mon Nov 03, 2008 9:38 am
- Location: Russia, Krasnodar
-
Contact:
Post
by Voker57 » Sun Mar 01, 2009 9:01 am
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.
-
Voker57
- Prole
- Posts: 29
- Joined: Mon Nov 03, 2008 9:38 am
- Location: Russia, Krasnodar
-
Contact:
Post
by Voker57 » Sun Mar 01, 2009 9:08 am
The look of this map tempts me to begin to wage wars/earn resourses on these isles, awesome.
-
Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
-
Contact:
Post
by Robin » Sun Mar 01, 2009 10:14 am
Very cool, and I second Voker57's comment

. Makes me itch to make a retro RTS with it.
-
Peter Hickman
- Prole
- Posts: 15
- Joined: Fri Jan 30, 2009 8:19 am
Post
by Peter Hickman » Sun Mar 01, 2009 10:16 am
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.
-
appleide
- Party member
- Posts: 323
- Joined: Fri Jun 27, 2008 2:50 pm
Post
by appleide » Sun Mar 01, 2009 10:44 am
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...
-
osuf oboys
- Party member
- Posts: 215
- Joined: Sun Jan 18, 2009 8:03 pm
Post
by osuf oboys » Sun Mar 01, 2009 11:03 pm
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.
Users browsing this forum: Bing [Bot] and 6 guests