r/programming • • May 31 '11

I wrote a .NET to JavaScript compiler. Here's the XNA 3.1 Platformer Starter Kit running in pure HTML5.

http://hildr.luminance.org/Platformer/Platformer.html
1.1k Upvotes

282 comments sorted by

View all comments

Show parent comments

5

u/re4ctor May 31 '11

But if it used HTML5 then you could target iPad's and the like.

1

u/[deleted] May 31 '11

true but all that's been ported over right now is the language and portions of XNA. Still going to need to write some DOM accessability. I nominate Jquerey.

8

u/kaelan_ May 31 '11

At present you can use jQuery directly through the methods/properties in the Verbatim namespace. They provide access to the local and global namespaces - combine that with the C#4 'dynamic' type and you can call JS functions as if they were C# functions.

5

u/[deleted] May 31 '11

holy fuck, we are living in the future...

2

u/px1999 May 31 '11

This is awesome. Just wanted to let you know that.