Hey guys,

I'm building a computer version of a boardgame in Java. It's similar to Risk and I already have the gamefield (the map) working really great (with zooming and scrolling) on a JSVGCanvas. Now I need to place the "units" (the gaming pieces) on the map. The units are also (seperate) SVG files which should appear at predefined positions on the map. They should zoom together with the background map SVG. Also they should be clickable with the mouse.

What's the best way to do this? Can a JSVGCanvas hold multiple SVG docs? Can I insert the unit files into the big SVG with Batik? As I didn't get it to work in another way I hardcoded the unit graphics into the map SVG and just set them visible on demand (just for testing). But as you can imagine, this blows the map file very much so it's not really a solution.

I hope to get some hints here how to do it, you would help me a lot :-)

Thanks!!!
   Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to