Confirmed, A few edits on this will certainly run under xna. I went and proved it http://developer.glitch.com/forum/9364/
Posted 14 months ago by
Fusspawn

|
Permalink
Sweet! Great work. What did you change?
(Staff reply)
Posted 14 months ago by
Brady

|
Permalink
removing the waitone locks. we dont want anything locking up the render thread :P
more detail.
I basically stole your deserialize code. wrapped it up with webclient and chucked it into the game.
Posted 14 months ago by
Fusspawn

|
Permalink
This doesn't work for Unity3D as the namespace System.Web.Script.Serialization; is not supported.
I heard it might work of i somehow set it to standalone exclusive (and not support webplayer)
But i havn't been able to find this option so far.
Posted 11 months ago by
ZeroZ

|
Permalink
It would probably work if you switched out the System.Web.Script.Serialization to another JSON parsing library, here are some suggestions:
-
http://litjson.sourceforge.net/
-
http://code.google.com/p/jsonsharp/
I'll look into updating this myself in the future if no one does so the code will be more portable.
If you do end up changing it and want to share, please fork it or send me a pull request on GitHub.
(Staff reply)
Posted 10 months ago by
Brady

|
Permalink