...

View Full Version : Explore Script with Images ?



dual_alliance
07-02-2007, 03:42 PM
Hey,

I'm trying to build an MMORPG using PHP and MySQL, its going fine except there is one small problem. When it comes to the explore script, l currently have it so you can move it up, down, left and right. This works fine but it looks really ... boring.

Then my friend showed me this game called Fallen Sword. And they have an explore script and it looks quite awesome. A picture of it is below.

http://img74.imageshack.us/img74/4802/explorewr0.jpg

Using PHP, do create a similiar thing, how would it be possible? I've tried searching google for any ideas / help but l have no idea what it is actually called and the results l get are completely unrelated to what l want to create.

Your insight is greatly appreciated,

Thankyou

Fumigator
07-02-2007, 08:11 PM
You want to use Flash for this.

aedrin
07-02-2007, 08:53 PM
There is no reason to use Flash.

You could either build that image in PHP, or use layers in HTML. It's most likely a simple image behind an imagemap (to create clickable regions).

http://us.php.net/gd

You could use AJAX to load a new image/situation when they click on one of the arrows. And instead of "loading" say "walking" while waiting for the result to come back, this will give a realistic feel to it ;)

Fumigator
07-02-2007, 11:50 PM
I guess we need to tell that to the programmers churning out thousands of Flash games... no reason to use Flash, use PHP and Ajax! :rolleyes:

dual_alliance
07-03-2007, 01:39 AM
There is no reason to use Flash.

You could either build that image in PHP, or use layers in HTML. It's most likely a simple image behind an imagemap (to create clickable regions).

http://us.php.net/gd

You could use AJAX to load a new image/situation when they click on one of the arrows. And instead of "loading" say "walking" while waiting for the result to come back, this will give a realistic feel to it ;)

Thanks for your advice aedrin l will probably end up doing the latter of the two and include some AJAX =D.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum