Portal Home > Knowledgebase > Articles Database > PHP Image functions


PHP Image functions




Posted by stuffradio, 06-12-2007, 02:28 PM
How easy would it be to make a map, and have different players marked on this map depending on their x,y co-ordinates?

Posted by Ks Jeppe, 06-12-2007, 02:51 PM
rather easy... Just load up the map, and then you can overlay other pictures on it at different coordinates... Or make "boxes" and write text in them... It shouldn't be all that hard, as long as you have the map.. hmm, i once had a good link to a tutorial site on php image'ing, but i've seem to have lost it... Will send over MSN if i find it Good luck with your game.

Posted by SagoMax, 06-12-2007, 02:57 PM
It really just depends on how you wanted to go about it. If you were starting with a static picture(map), it would not be too difficult to mark specific coordinates with a mark. How easy or hard something is really is determined by the level of knowledge. What is easy to me, may be difficult for you. I would suggest looking into the GD library: http://us.php.net/gd Hope this helps..

Posted by Jatinder, 06-13-2007, 01:00 AM
Have you tried out Google Maps API?

Posted by MysticServer, 06-13-2007, 06:17 AM
check out http://us.php.net/gd the GD functions of php. Off the top of my head (and not tested)



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
3 ip to one domain? (Views: 473)