royibernthal Posted June 25, 2016 Share Posted June 25, 2016 Is there a recommended way to architect / structure code in BabylonJS? I went through code demos, but they all demonstrate very specific capabilities in a very short code that doesn't require any real structuring. How should a code of a big project look like? (Ideally separated into different files that contain different classes or grouped logic) Do you extend classes? prototypes? Am I simply supposed to use whatever techniques and structures I use when writing native javascript or are there structures unique to BabylonJS? Boz 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted June 26, 2016 Share Posted June 26, 2016 The only advice I have seen on coding with BJS is about contibuting to it http://doc.babylonjs.com/generals/Approved_Naming_Conventions So methinks your structures are the ones to keep to for your own projects. Other advice is available. Quote Link to comment Share on other sites More sharing options...
adam Posted June 26, 2016 Share Posted June 26, 2016 The only advice I have is to use Typescript. royibernthal 1 Quote Link to comment Share on other sites More sharing options...
royibernthal Posted June 27, 2016 Author Share Posted June 27, 2016 Thank you. Anything else? 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.