Jump to content

image manipulation (shading on a map and such)


xjermx

Recommended Posts

As part of my learn-as-I-go game project,  I've created a rudimentary map:

 

http://www.dixieandtheninjas.net/dynasties/images/dynasties_map_2.jpg

 

I want to do a couple of things with it, and I'm unsure of whether javascript/jquery can do this or not.

 

1.  I want to be able to shade cells based on some criteria - for instance, make all enemy provinces red, or all allied provinces blue.

2.  I want to be able to put an icon on a specific region to indicate the presence of the player.

 

In both cases, I can generate this kind of information from SQL via PHP, but I don't know where to begin with regards to having a map that I can manipulate in this manner.

 

Any pointers?

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.