Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You can open any c2addon file as it's just a renamed .zip archive and see the plain javascript files therein.

Unless you already have a fairly good grasp of the Construct 2 SDK and also fair knowledge of Babylon.js I wouldn't immediately get into developing your own plugin that's supposed to work within the Baby 3D plugin suite. It's far from a novice task.

However you can of course study the plugins and behaviors provided and see how things are set up and ultimately learn how to change and expand things yourself. No doubt. 

Just please don't expect me to provide detailed guidance in such matters.

(+1)

thank you very much

I found functions in the plugin code in quotation marks. Do they call the built-in babylon.js functions? If so, is it possible to assign rotation functions to the b3dmodel object?

When you see something saying "mesh.rotation.x/y/z" that's where rotation is applied.

It's true that beyond the automatic rotation around Z (actually Y axis in Babylon.js) depending on the C2 object angle an imported model can currently not change X/Y(Z) rotation. However these rotation options will be in the next update.