Hey, everyone! I’ve recently been trying to decide between using ThreeJS and BabylonJS for web development with the intention of publishing the products on itch.io. I love ThreeJS’ editor, and it gets results very quickly, but BabylonJS’ physics and animation blending are much more accessible.
The problem is that when publishing a game from the BabylonJS editor, the game itself becomes very bloated with all of the Node modules it requires, so much so that the product cannot be uploaded to itch.io which has a strict 500 file limit. My back up plan is to simply deal with it and in order to keep file count down stay 100% in code, however I really do love the feature of attaching scripts to objects in a visual sense as well as the what you see is what you get of the material editor.
My question is, for people who are trying to keep their Babylon project as small and portable as possible, what kind of workflow do you use? Even with class separation with Typescript, it seems like a pretty daunting task to stick with only code.
I thought it would be do-able using the playground and simply adding onto it there and running the code as I’m going along, but what about accessing external models and things like that?
How can I keep the simplicity of only a couple of files and develop it in a way where I can see what’s going on as I’m going along? I would love to hear about your workflows.
Thanks in advance!