Live data from Hacker News

Mozilla and Unity Bring Unity Game Engine to WebGL

blog.mozilla.org

101–110 of 122 posts

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#102
post #66

Earlier quoted context omitted.

dont worry CORS or same origin policity have nothing to do with the way the server should load assets.Not sure why the other guy talked about that. The issue you raised still stands.

What? Loading of WebGL textures is subject to the same origin policy.

You can load WebGL texture from byte[] pixel array. http://stackoverflow.com/questions/9046643/webgl-create-text...

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#103

So, that's why they've been doing, instead of fixing the 64 bit version and improve multi-threading support. Let's hope it works as advertised then.

You do realize that exactly the same Unity 5 announcement also announced 64 bit editor and improved multi-threading?

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#104

I do like Unity (especially the component/entity system) but recently I've been enjoying making games in plain ol' JavaScript (2, and 2.5D - granted). Everything is just so open: I don't obfuscate or hide anything, and it's all available via "view source". With an inspector/console you can quickly see how stuff works and start messing around with it. Of course, 99.99% of people just want to play games - but the way I…

You're a dying breed my friend. Most software developers, game developers including, have no appreciation for the technical aspects of their field, and no appreciation for the importance of thoroughly learning and understanding the foundations on which their patchy work is standing - they're glorified product managers and all they care about is the end product they can make a quick buck off of until it's superseded b…

Going from OpenGL to a game engine with a modern lighting and rendering pipeline, physics, an editor, etc. is a huge amount of work, though. It's worth knowing how it all works and being able to write parts from scratch, especially since what's in a game engine is nowhere near satisfying every use case, but there is also no shame in using a preexisting game engine; if programming and (in the case of a one-man show) designing assets for a game is going to take a lot of time as it is, getting bogged down in game engines would be foolish.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#105
This is a really good news as I have developed some small games in unity and I wished that I can create it using HTML5. So will there be a tool for creating graphics also or we have to follow same old html and images for that. And will there be an option to port games to android, iOS and blackberry??

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#106
you say what you want, I doubt professional, experienced game devs choose to release quality game with unity.

unity is great for young devs, prototyping and content creators, but it's not that much open so I doubt many dev really like to use it.

still a great thing for mozilla though

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#107
post #50

Earlier quoted context omitted.

WebGL is basically at native speed. The only issue might be if a GL extension you need is not in WebGL yet, but that is moving along quickly. asm.js can run close to native speed, depends on the JS engine of course, but it's not far off. See for example https://github.com/joelgwebber/bench2d

Why does asm.js run so crappily on Safari/Mac?

Because it uses JSC instead of V8.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#108

Earlier quoted context omitted.

You can read/write local files from within a webpage. So I guess its possible. It would require looking into how WebGL loads assets and overriding this with diskIO operations not difficult. The next problem would be asset management, but this isn't an important issue. A lot of game data is already stored locally with little to no protection. I'd have to look at how javascript handles file I/O it might not be 'that' d…

There's localStorage and there's IndexedDB. The former is blocking and not ideal, but I think you can store blobs in IndexedDB and it's async.

You missed the Filesystem API

https://developer.mozilla.org/en-US/docs/WebGuide/API/File_S...

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#109

Mozilla, please stop promoting nonfree software. It would be better to assist in the creation of a free game engine for the web instead of Unity.

To be honest: From this point over here this is promotion for Mozilla. I'm a Mozilla fan, Firefox user and welcome news that aren't "This demo only works in Chrome" for once.

I don't see it as a sell-out, I see it as competition to the braindead/insulting 'Upgrade your browser' Google notifications and similar nonsense. A sign that Mozilla is very much alive and innovating.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#110

I do like Unity (especially the component/entity system) but recently I've been enjoying making games in plain ol' JavaScript (2, and 2.5D - granted). Everything is just so open: I don't obfuscate or hide anything, and it's all available via "view source". With an inspector/console you can quickly see how stuff works and start messing around with it. Of course, 99.99% of people just want to play games - but the way I…

You're a dying breed my friend. Most software developers, game developers including, have no appreciation for the technical aspects of their field, and no appreciation for the importance of thoroughly learning and understanding the foundations on which their patchy work is standing - they're glorified product managers and all they care about is the end product they can make a quick buck off of until it's superseded b…

Yes, this is why Unity is so popular.
Post reply on HN