Live data from Hacker News

Mozilla and Unity Bring Unity Game Engine to WebGL

blog.mozilla.org

51–60 of 122 posts

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#51

Earlier quoted context omitted.

The problem is that most people don't have a local server. Even if you have local (geographical nodes) your still limited to the clients bandwidth. Also how can you load say models but not textures? All files are just binary data. I guess your only option is to play around with indexDB. Also it that per file 50MB, or overall 50MB. I guess with more aggressive compression could could achieve decently small disk usage.

>Also how can you load say models but not textures? All files are just binary data. CORS and the Same Origin Policy.

If you read thought my comment history you'll see I'm not a web developer.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#53

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.

There are only so many projects that Mozilla can take on at once, building a game engine would take resources away from firefox/asm.js etc.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#54
post #45

I'm curious if they'll also add features such as In-app Purchases given that's a recurring issue in threads about HTML5 games.

Amazon is one good option for IAPs with web games: https://developer.amazon.com/public/solutions/platforms/weba... edit - Forgot to mention, they even have a Unity plugin: https://developer.amazon.com/public/solutions/platforms/cros...

That is only for Android (Kindle) apps afaik

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#55

I'm curious if they'll also add features such as In-app Purchases given that's a recurring issue in threads about HTML5 games.

I really hope so. They should work with a partner like Steam or Google Checkout to make it easy to do IAPs in the browser.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#56
post #45

I'm curious if they'll also add features such as In-app Purchases given that's a recurring issue in threads about HTML5 games.

Amazon is one good option for IAPs with web games: https://developer.amazon.com/public/solutions/platforms/weba... edit - Forgot to mention, they even have a Unity plugin: https://developer.amazon.com/public/solutions/platforms/cros...

Interesting option indeed, it even has an AIR version.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#57

Is it just me, or it is a bit hypocritical for Mozilla to be talking about the wonders of the Open Web and then embracing two very proprietary developer platforms to promote Asm.js If they cared about the open web, and they cared about open source, they would be helping open source game engines like Ogre3D and Torque3D. Instead, for the sake of expedience, we see them promoting proprietary components. It was not too…

Is it just me, or it is a bit hypocritical for Mozilla to be talking about the wonders of the Open Web and then embracing two very proprietary developer platforms to promote Asm.js

There is no contradiction here, on the contrary (heh!). Mozilla doesn't believe an Open Web precludes proprietary applications. In fact they've strongly argued that the web should be properly standardized so that it's possible for anyone, including commercial parties, to make clients for it, and that just opening up source code (ala WebKit, PNaCl, etc) does not do this hence is a bad way to achieve an open web.

The point has also already been made that this makes it possible for Unity games to run on open platforms without requiring closed source blobs.

they would be helping open source game engines

Uh, emscripten and asm.js have been enhanced to properly port many open source engines and game libraries long before this one was announced. I'm going to guess Unity was possible because they provided engineering resources to port their own engine.

Re: Mozilla and Unity Bring Unity Game Engine to WebGL

#59
post #8

I'm curious to know how networking behaves in a webgl build. Will my tcp sockets just work straight out of the box? That would be seriously impressive!

Even though you can go with websockets or a tcp-websockets bridge, Mozilla has a proposal for TCP Sockets API in JavaScript. Its being used in Firefox OS right now and is quite cool. More info at:

https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket

In the future this could become a standard and everyone would benefit.

Post reply on HN