janusmccarthy
07-26-2010, 03:27 PM
(As this is an XML-SVG question, it may be better served in the graphics section, mods if you feel this is better there, feel free to move it)
I think the title kind of says it all. I'm playing around with the idea of using SVG and javascript to kind of see if a hex map based strategy game could work. The idea looks promising, but I was wondering if it is possible to apply an image texture to a polygon?
I've been googling svg texture polygon and the like and just haven't found anything other than the basics, and it might be that that's all there is, but it would seem like a pretty standard thing for a 2D textual graphics description language to implement. There's some stuff that looks like it can be done via some tools, but since they're hawking tools they don't include any source code.
Any help or if you could point me towards a good tutorial that'll be awesome! Best!
I think the title kind of says it all. I'm playing around with the idea of using SVG and javascript to kind of see if a hex map based strategy game could work. The idea looks promising, but I was wondering if it is possible to apply an image texture to a polygon?
I've been googling svg texture polygon and the like and just haven't found anything other than the basics, and it might be that that's all there is, but it would seem like a pretty standard thing for a 2D textual graphics description language to implement. There's some stuff that looks like it can be done via some tools, but since they're hawking tools they don't include any source code.
Any help or if you could point me towards a good tutorial that'll be awesome! Best!