hit2501 Posted December 8, 2017 Share Posted December 8, 2017 Hi everyone, According to colleagues experiences I know that Unity sometimes requires additoinal plugins for networking functions (access to databases, etc) and I saw that the websites made with Unity take a bit longer to load and sometimes its necessary for user to download additional stuff to be able to use 3d websites. But all I know is too superficial, can anybody give me more details of why is BJS better than Unity? Thank you all. Quote Link to comment Share on other sites More sharing options...
mr_pinc Posted December 8, 2017 Share Posted December 8, 2017 Unity does not really export to the web. Yes you can do an HTML output but it's not really optimized for a typical browser scenario. Babylon allows you to craft an experience with a Web focus. Also I'm not sure but Unity html5 might not work on mobile, while Babylon definitely works on mobile. Unity has advantages though, it has a full featured editor which is easy to use - Babylon has an editor but it's very primitive compared to what you get in Unity. hit2501 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted December 8, 2017 Share Posted December 8, 2017 For pure web development, Babylon.js is better because: - FAR smaller (250K gzipped) - Works everywhere (no need of wasm / asm.js support) - Code is readable (plain JS) - You can interact with the code from your page - You can still rely on Unity for editing purpose and then export to babylon.js using our unity exporter HeadClot, hit2501 and JackFalcon 1 2 Quote Link to comment Share on other sites More sharing options...
hit2501 Posted December 8, 2017 Author Share Posted December 8, 2017 Thank you both, I need that kind of details because I saw a lot that too much people thinks Unity is the only/better option to develop their applications. If any other developer wants to add info or opinions I'll be grateful. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
adam Posted December 8, 2017 Share Posted December 8, 2017 Support is top notch. GameMonetize and JackFalcon 1 1 Quote Link to comment Share on other sites More sharing options...
abhivaidya Posted May 29, 2018 Share Posted May 29, 2018 BJS is free and open source and doesnt collect my data! JackFalcon and GameMonetize 2 Quote Link to comment Share on other sites More sharing options...
Puck Posted May 29, 2018 Share Posted May 29, 2018 To expand on what was already said, for me the biggest advantages are: 1) The default build is much, much smaller than Unity's default WebGL build and there's much more potential to trim that size down even further. 2) Free and open source with a code base I can understand and relate to, so extending the engine is a practical prospect for a single developer like myself. 3) I can write UI using web technology and deeply integrate it with the engine for a much better experience than Unity's UI system with much less work on my part. 4) Much easier integration with other web technologies like HTTP and Websocket requests. Quote Link to comment Share on other sites More sharing options...
trevordev Posted May 29, 2018 Share Posted May 29, 2018 For my projects I like Babylon for: No large IDE/libraries required, I can setup a local babylon dev environment in < 5min or jump into the playground instantly Easily reuse existing web stack, typescript, the dom, existing js code, npm, webpack, socketio, jquery, etc. No licensing Arte, GameMonetize, davrous and 1 other 4 Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted May 30, 2018 Share Posted May 30, 2018 "always bet on js" ... Quote Link to comment Share on other sites More sharing options...
alexoy Posted May 30, 2018 Share Posted May 30, 2018 Just curious.. why in such topics (HTML5+JS vs Something) almost nobody mentions that JavaScript is a single-threaded thing? Your code have to be very efficient to make your game enjoyable, because performance is very important. I haven't used Unity, but fast searching shows there is multithreading in it, so potentially it should work faster with heavier applications, especially on normal multicore PCs. 4-8 cores are better than 1, aren't they? What do you think about that? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted May 30, 2018 Share Posted May 30, 2018 You can simulate multi-threading with smart programming. Its not true multi-thread and there are caveats but as the webGL get closer to true OpenGL and as thigns like OpenCL gain support you are future proofing yourself. But then again its all situational and depends on what goal you are trying to accomplish. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.