Aldo V Posted August 15, 2018 Share Posted August 15, 2018 Hi everyone ?, I am Unity Developer. I want to make rich 2D and 2.5D playable ads. In search of native webgl engine I found babylonjs. I googled, but couldn't find any 2D project. Is 2D projects are recommended with babylonjs 3.3.0? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 15, 2018 Share Posted August 15, 2018 Yup you can definitely rely on it as it provides an amazing supports for GUI and other 2d sprites / effects. The best part is that you could easily add 3d like shapes and particles to build smthg like Rayman ? I love those 2.5 d games a lot ? Aldo V 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted August 15, 2018 Share Posted August 15, 2018 imho, Phaser is really dedicated to genuine 2D games on webGL. BabylonJS is dedicated to 3D and provides a 2D GUI and 2D tools (these tools being able to be injected in a 3D world what is huge) Phaser has a 2.5 D support what is actually a 2D layer with a z level approach whereas BabylonJS can display real 3D in a 2.5D mode (orthographic camera) Both are WebGL engine. Aldo V 1 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted August 15, 2018 Share Posted August 15, 2018 I agree with jerome, but I think that in your case PIXI might be an even better choice than Phaser. I suggest you do a thorough comparison between the two. Aldo V 1 Quote Link to comment Share on other sites More sharing options...
b10b Posted August 16, 2018 Share Posted August 16, 2018 What would the initial library footprint be (in KB and time to load)? Does the library come all-as-one, or can it be modularized or have dead code eliminated? Does a WebGL requirement limit the audience / inventory? These may be relevant considerations for a playable-ad (or instant-game) when evaluating options. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted August 16, 2018 Share Posted August 16, 2018 *Random Unrelated Thought* hmmm someone should embed a pixi or phaser game as an active texture on a plane in BJS just for snitz and gigz. jerome 1 Quote Link to comment Share on other sites More sharing options...
brianzinn Posted August 17, 2018 Share Posted August 17, 2018 6 hours ago, b10b said: Does the library come all-as-one, or can it be modularized or have dead code eliminated? I know they are working on having it automatically remove the dead code with tree-shaking, but it's not there yet. You can follow this github issue to follow when it's ready: https://github.com/BabylonJS/Babylon.js/issues/3314 Having said that, it is modularized - the loaders, gui, materials, post-process, etc. are separate imports. I thought I remembered a page to generate a custom script and I think it's even linked from the NPM page! http://doc.babylonjs.com/how_to/how_to_start#custom-builds <-- this link should be fixed on the NPM page (https://doc.babylonjs.com/features/npm_support), but I'm not sure where it should point. b10b 1 Quote Link to comment Share on other sites More sharing options...
SinhNQ Posted August 17, 2018 Share Posted August 17, 2018 Another option you might consider is the mixed up between pixi.js and babylon.js. Sebavan and Aldo V 2 Quote Link to comment Share on other sites More sharing options...
Aldo V Posted September 19, 2018 Author Share Posted September 19, 2018 Thank you guys for your valuable opinions GameMonetize 1 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.