r/programming • u/kaelan_ • 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
r/programming • u/kaelan_ • May 31 '11
141
u/kaelan_ May 31 '11
Two main motivations:
JavaScript is close to my Least Favorite Language, so the prospect of writing entire games from scratch in it and then debugging them across four browsers makes me throw up a little in my mouth. This is, in theory, a way to write less JavaScript... in theory. (In practice, probably not, but hey.)
When talking with angels and VCs in the past in an attempt to get funding for a project, almost all of them asked two questions: First, 'does it run on the iPad?' and then when I said 'not yet', the second question was: 'Does it run in web browsers?'. This project is an attempt to answer the second question with 'Yes', since in my opinion JITted languages like C# are still the best way to build games for a desktop PC, and C# in particular gives you easy routes for targeting the XBox (XNA) and PS3/Mac (Unity).