This is an archive of a previous version of Sodarace.

Please visit http://sodarace.net for the latest version.

forum  |  »» sodaplay
 
»» forums  »» artificial intelligence forum

subject: Sodaconstructor local xml file format *beta* release

8 replies on 1 page. most recent reply: 15-Jul-04 01:40 by pond_creations

»» back to topic list  

This topic has 8 replies on 1 page
»» previous topic   »» next topic  


ed

»» models
»» homepage

Sodaconstructor local xml file format *beta* release   posted: 09-Jun-03 18:56   »» 
As discussed previously, sodarace entrants will be generated using an xml file format. So that you can start using this new format right away we’ve followed wwan’s lead [in the thread http://sodarace.net/forum/thread.jsp?forum=16&thread=157 ] and developed a Java Webstart application “sodaconstructor local” that can export/import models to/from your local file system.

To test drive the sodaconstructor local xml file format see http://www.sodaplay.com/constructor/jnlp/ , we welcome your comments and feedback.



Lectvay

»» models
»» homepage

Re: Sodaconstructor local xml file format *beta* release   posted: 10-Jun-03 07:08   »» 
This is great news for AI-programmers and constructors alike! Thanks!

I do notice a decrease in speed/quality of the applet, just as when I run the online applet with Sun Java Plug-In instead of the JVM. But this is certainly something I can put up with.

Don't forget to update the sodaconstructor FAQ when you have the time (there's a question there about offline usage). I'll add a news item on my website.

Thanks again.

Yankeeabe

»» models

Re: Sodaconstructor local xml file format *beta* release   posted: 10-Jun-03 18:42   »» 
Thanks ed!!

Im just wondering, is it because of SUN that I cannot dynamically move an active mass in construct and simulate mode?

And are there any plans to get this working on VM?

Thanks again!

ed

»» models
»» homepage

Re: Sodaconstructor local xml file format *beta* release   posted: 11-Jun-03 09:16   »» 
> Im just wondering, is it because of SUN that I cannot
> dynamically move an active mass in construct and
> simulate mode?
>
> And are there any plans to get this working on VM?

mm, I've also experienced that mouse problem where the interface fails to react to dragging of masses or sliders. I'm afraid I don't know what the underlying cause is yet, however I did find that installing the very latest version of Java from Sun (Version 1.4.2-beta at the time of posting) seemed to fix it entirely.

Because of rather sensible security restrictions on applets that run within browsers it will only be the webstart version of sodaconstructor local that will be able to export/import files. The webstart application politely asks you if it may have access to your local file system to do this.

Also PC users may have noticed that the Sun version of Java is significantly slower than the Microsoft version. If your browser was previously using the Microsoft VM and you install the Sun VM then by default the Sun VM will be used within your browser as well. If you want to return the browser based version of sodaconstructor to it's Microsoft VM enabled speed [and greatly improved sound capability] you can disable the Sun Java Plugin using your browsers tools, internet options, advanced properties control panel.

Lectvay

»» models
»» homepage

Re: Sodaconstructor local xml file format *beta* release   posted: 18-Jun-03 09:38   »» 
Perhaps it would be useful to add attributes or elements for model name and creator name? In the case of creator name, this might raise some issues with compatibility with the server...

warptera

»» models
»» homepage

Re: Sodaconstructor local xml file format *beta* release   posted: 19-Jun-03 01:35   »» 
that's interesting lectvay,

since it's xml, could we add a tag to the code that would be ignored by the applet but would contain a signature of sorts?

-w

Lectvay

»» models
»» homepage

Re: Sodaconstructor local xml file format *beta* release   posted: 19-Jun-03 05:27   »» 
Yes, I think we could theoretically add these things to our models without causing any problems, if we wanted just an unofficial signature for trading xml models. For example, they could be added as attributes to the parent element:

<model name="modelname" author="authorname>

However, any "extra" attributes or elements won't be preserved once the model is loaded in the applet, so you'll get a generic file with no extras if the model is exported again. This is because (I assume) a new XML file is generated from the model as the applet understands it whenever you "export."

WizzardME2000

»» models

Re: Sodaconstructor local xml file format *beta* release   posted: 06-Aug-03 01:12   »» 
I just finished a program that generates amoebas in xml format. It's in VB. You can get the program, sourcecode, and some examples at:

http://www.flyingforward.com/projects/amoebamatic/

I can't wait for the API to come out for us programmers to use in these kinds of programs!

pond_creations

»» models

Re: Sodaconstructor local xml file format *beta* release   posted: 15-Jul-04 01:40   »» 
Hey Wizzard, amoebamatic isn't working for me. It says a file is missing.



This topic has 8 replies on 1 page


»» previous topic   »» next topic  

»» back to topic list  »» top of the page  

PLEASE READ THE FORUM GUIDELINES AND ALWAYS PREVIEW TO CHECK MESSAGES BEFORE POSTING...
...Help keep our forums creative and constructive. Thank you.


»» forum home