|
Title: Using JSIL to port XNA games to HTML? Post by: Ludius on September 10, 2012, 05:02:52 PM Has anyone else had any experience with this, I'm currently rather confused. I've run the application on my game, and it appears to have succeeded, but I don't know how to run/host the game. I don't have any javascript experience, I was just wandering if anyone could give me an idea of how to put it on the internet. Thanks!
Title: Re: Using JSIL to port XNA games to HTML? Post by: Kaelan on September 11, 2012, 02:09:37 PM See https://github.com/kevingadd/JSIL/wiki for a basic getting-started guide. https://gist.github.com/3702486 is a basic HTML template that should get you started running your game (you'll need to replace some UPPER CASE text in the file with the name of your game and such so it can find the files JSILc produced.)
If you have trouble feel free to contact me directly (or you can post here) Title: Re: Using JSIL to port XNA games to HTML? Post by: Ludius on September 11, 2012, 03:54:24 PM I see, do you think this should run on a tumblr page? That's been where I've been trying to use this code, and I haven't gotten it to work.
Title: Re: Using JSIL to port XNA games to HTML? Post by: Kaelan on September 11, 2012, 03:55:44 PM I don't know anything about tumblr. A good place to start is just a folder on your computer - you should be able to get basic things to work there. Another good place is a Dropbox folder, since you can just get a URL to that and open it in your browser to test things out really easily.
Sites like Tumblr tend to do weird things to scripts and files that might break this. |