world map, now clickable!

Speak about everything in regards to Crossfire.

Moderator: Board moderators

Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

world map, now clickable!

Post by Mith »

With many many thanks to woo's generous offer to host a currently unnamed zoom feature for crossfire worldmap, ...

I'm proud to announce a KISS* zoom feature for CrossFire's world map.

Location:
http://dooler.woosworld.net/cf_map/

How To Use:
look, click, look, click

Ingredients:
A bunch of images and a few scripts

How It Works:
a script, an image, an imagemap, a script, a few more images, an url and still more images.
The scripts describes the relations between the images.

In Concreto:
the scripts generate dynamic html pages (i love the word dynamic) and by user interaction (interaction is a nice word too) a set of images is displayed.
This set of images requires more interaction and upon clicking a new tab (or a window for those that uses cursed browsers) opens, containing a 50% view of the world_map of the users choice.

FeedBack:
Yes please!
I am looking for suggestions on improving the whole stuff!


*Keep It Simple, Stupid!
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

wow, this is excellent. I just had a poke around and found areas that I haven't ever been to before. I finally have a way to not have to use the java editor for navigation....

one suggestion if I may, a set of arrows, up, right, left, down, to go through the maps at a higher zoom levels.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Nice indeed!
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

cavesomething wrote:wow, this is excellent. I just had a poke around and found areas that I haven't ever been to before. I finally have a way to not have to use the java editor for navigation....

one suggestion if I may, a set of arrows, up, right, left, down, to go through the maps at a higher zoom levels.
good idea! and even easy to implement ;) (i have a working 'proof of concept' at localhost)

would you suggest going n/e/s/w one or two tiles every click?

on a side note: if someone has an idea how i could do

Code: Select all

echo "...<a href="zoom.php?X={$x}&Y={$y - 2}">north</a>..." 
having work properly... i would be very happy :)

NOTE: this line of code is BUGGED, you cant use the {$y -2} part and {($y -2)} or the use of any quotes doesnt evaluate the expression in the quotes
Bibendi ergo sum
or rather: sum ergo bibendi
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

uploaded a modified CF map zoom (now at version 0.1) that allows one to hop two tiles at once in any direction, so you could get the feeling how it is to skip a map ;)

Please share your thoughts about being able to hop one or two maps at once.

note: at some time i'll change the text links to image links by adding some huge buttons.

note2: i didnt test this version in IE, but the pages are w3c validated
Last edited by Mith on Wed Mar 09, 2005 3:34 pm, edited 1 time in total.
Bibendi ergo sum
or rather: sum ergo bibendi
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

ah, now that is very nice indeed.

It is somewhat disturbing to think it, but I suspect I shall be using this far more than sites that have maps of the 'real' world....

very nice work Mith.

/me wonders if Leaf will add it a link from the crossfire website, and if that server could/would be prepared to cope with the load....
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

cavesomething wrote:.. if that server could/would be prepared to cope with the load....
woo, what say you?
woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Post by woo »

We should be find, I've got oodles of CPU/bandwiidth sitting around.
Link away!
User avatar
bencha
Junior member
Posts: 110
Joined: Tue Feb 22, 2005 3:24 pm
Location: Paris

Post by bencha »

what a nice job. you can even spot mushrooms :D
Mith
Senior member
Posts: 348
Joined: Mon Oct 25, 2004 5:53 pm
Location: somewhere in nowhere

Post by Mith »

bencha wrote:what a nice job. you can even spot mushrooms :D
Thanks :)

Yeah, this map is a HUGE spoiler... maybe i should put a warning on the page ;)
Bibendi ergo sum
or rather: sum ergo bibendi
Post Reply