From: Brett L. <wak...@ea...> - 2005-10-11 22:28:47
|
>> I know. I was meaning that because it's a web-based application, it >> would be a good candidate for using SVG-based tile graphics being that >> there are SVG viewer plugins for most browsers. >> >> The server can deliver the SVG directly to the client without needing to >> render or store the image locally on the server first. >Since the Java client is going to be running there anyway, it isn't clear >that using SVG for display in a browser would work very well. It would >certainly be difficult to manage the display with part of it being >rendered in an applet and part in an SVG viewer plugin. I think you're misunderstanding. The GameTestServlet is meant to run server-side as a game server UI (think CGI-style server-side processing). To allow playing games through a web-page. The servlet serves up standard HTML pages. The Swing-based UI is meant to be a stand-alone application. These are two completely separate interfaces that don't run together and are more or less completely incompatible. The intention is to allow two totally different ways of playing a game that uses the same underlying engine (and further secures model/view separation). So, when I say that the Servlet can use SVG, I mean that in the process of serving out an HTML page to the client, it could do so using SVG as the content-type of the tile/map images. ---Brett. |