Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unity's "Javascript" is, AFAIK, more aptly named "UnityScript".[0]

[0]: http://wiki.unity3d.com/index.php?title=UnityScript_versus_J...



Good point. Please see my comment about "Unityify"! https://news.ycombinator.com/item?id=7613488

Since I haven't written much "UnityScript" code myself, I'd appreciate your comments about whether you think it's possible (or worth the effort) for a tool like Browserify/Unityify to translate JavaScript code so it runs in Unity3D, or for programmers to write portable modules in a dialect of JavaScript that will run in both.

Maybe Unity3D themselves could help, by fixing problems with UnityScript that make it hard to run standard JavaScript, and providing hooks in their compiler pipeline that enable passing JavaScript libraries through with minimal modification when you're targeting the web browser and WebGL.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: