Skip to main content

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

Baby 3D Plugin for Construct 2

Make 3D games in Construct 2 powered by Babylon.js · By Pixel Rebirth

My subPlugin

A topic by Construct2notbadnow created 18 days ago Views: 84 Replies: 4
Viewing posts 1 to 2

I have a question. I know basic js, I have Java on pc, but I don't know some things. 


1. If i create behavior for your plugin, and load to construct 2, will it work? 


2. How I can do it? do I need a babylon.js SDK? Do I need to think babylon logic?


3.Your code is open? Can I open one C2ADDON file to look – how to work with your plugin? 

Developer

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?

Developer

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.