Re: [Jsokoban-gamedevel] TextLevelSet
Brought to you by:
texx
|
From: Matthias J. <M....@gm...> - 2002-02-22 11:22:44
|
I think it would we good tomake the program compatible to the these
levelsets.
So a user can download one and use it.
in the moment he must write a xml file and put every level in a own level
file. I think nobody would do that.
The only think i don't know in the moment is if we schould "kill" the
xml-levelset and change the program that we only use the text-levelset.
What do you think?
matthias
> Hi:
>
> I have seen that kind of levelsets in other programs, and i have a
> question.
> Do you want make a compatible file or a proprietary one?
>
> Changing the subject, the code seems ok to me.
> The only thing that i look is in XMLReaderWriter. If I try to open a
> levelset using an absolute path (in windows), jdom throws a FileNotFound
> Exception,
> so, i change a little the parse method and the problems dissapear.
>
> public static Document parse(String sFilename) throws
> org.jdom.JDOMException
> {
> SAXBuilder saxbuilder = new SAXBuilder();
> saxbuilder.setValidation(XML_VALIDATION);
> return saxbuilder.build(new File(sFilename));
> }
>
> bye
>
> Federico
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net |