Please create a new topic for this inquiry.
Pixel Rebirth
Creator of
Recent community posts
I edited the file and believe it works fine now: https://drive.google.com/file/d/1Wlr-H9Q9f2rBOOvCEtvYl8E-G2X624OE/view?usp=shari...
Please tell me here when you requested.
Hey, I need more context to see what's happening here.
Are you using the latest version of the plugin?
How is it supposed to look versus how it looks in that screenshot? What are all these objects, what's happening eventwise etc...
Any details really would help for me to constructively comment on this. If all fails you could also share a capx file so I can see for myself.
Thank you!
Here's part of what's happening in the Hardliner Demo to limit mouselook up/down:

In this case "playerHead" is a sprite with camera behavior and an instance variable "zLook". Now I'm lerping the value of this variable to "rawY" (vertical movement) of the mouselock. It's divided by "unitRes" to translate from pixels to units since Z position (or often referred to as Z elevation in context of the plugin) is measured as such.
This is being clamped between the negative and positive constant global variable which defines how far up and down you can look.
Then "zLook" is being applied when using the "Set camera target" action or could be used in a rotation action like you're apparently doing.
Let me know if you have further questions.
Skyboxes are a bit specific.
It is expected that you have 6 square skybox textures imported for each side of the cube.
They need to match the naming convention "skyboxname_suffix.jpg".

So if you created a skybox via action and named it "cloudy" you would need to import the following files into your project:
cloudy_px.jpg, cloudy_nx.jpg, cloudy_py.jpg...
And yes currently it does have to be a jpg file. With the next update skyboxes will work with png files.
In case you're interested further here's the relevant Babylon.js documentation: https://doc.babylonjs.com/features/featuresDeepDive/environment/skybox
There was a breaking change in 0.93 that indeed affects the heightmap example which I already fixed but neglected to include in the release zip. Oops.
However I did just now upload the fixed version as an additional file dowload. Please try and see if this fixes your issue.
If you're using projects of yours that have been created before 0.93 you might have a similar issue with those unfortunately. Please let me know and I can probably fix it for you by editing the project event xml file(s) or explaining to you more in depth how to do so yourself.
To properly install Baby 3D with all its parts you should unzip the archive you downloaded. Then open Construct 2 and drag each file with a c2addon extension into the C2 window. This will prompt you to install the addons.
Every behavior and plugin you use depends on the main plugin ("baby3d") which needs to be present in your project.
I totally dropped that the ball in looking at your project.
Checking it out now I realize I cannot open it due to many third party plugins being used. Have you tried removing those for testing, saving it separately as such and see if it works?
Also I've asked before and I do take it that the included examples do indeed work for you.
Tilemaps are not supported. Behaviors are meant for Tiled Background and Sprite objects.
If you do not require animation you should use Tiled Background. For Sprites you do have to add a spritesheet png with its filename matching the object's tag. Download baby3dEightDirExample.capx to see an example of this in action.
Please make sure the model can actually be seen in the view of the camera. Also there should be a light present.
Maybe double-check the filename in the object properties too. You can use the expression modelProgress to see if it returns 100 at any point.
Another thing could be the scale of the model, which depending on how you created/exported it might be very small or gigantic.
If everything fails feel free to contact me directly and I will take a look at it.
Oh and again: make sure that it's not simply a case of Construct 2 layers being visible and covering everything up. The 3D canvas is behind the C2 canvas, therefore C2 layers need to be invisible (if not transparent).
The plugin works fine with NWjs as evidenced by two projects of mine which are exported as such (Sirinite and Hardliner Demo).
Please share the error message you are getting. There could be other factors responsible such as additional third party plugins.
Also you may want to attempt to simply reinstall NWjs for Construct 2.
What will very likely happen before 1.0 is the addition of depth of field also as lens effect.
I've been looking at some examples of crt shaders so it's definitely also in the cards.
Regarding the level editor thing. I've been slowly building a tool on the side that might act as a universal level editor for Baby 3D projects with the possibility of evolving into its own standalone (but rather basic in terms of features) thing.
Don't expect to see anything tangible of this project soon though.
Thank you!
Sadly C2 effects will not work on the 3D output of Baby 3D.
There are some effects you may already use in form of the lens effects introduced back in 0.82 (edge blur, distortion and chromatic aberration).
Also do not neglect the glow layer.
In terms of formats for the B3D Model plugin: .gltf/glb files are recommended. .obj files are also confirmed working. Generally I would suggest sticking to those.
If everything goes according to plan support for normal maps should be part of the next update.
Most other more advanced stuff regarding materials is out of the scope of what this plugin is supposed to be and will most likely not be considering at all before reaching 1.0.
It is the plan to include the B3D Model Plugin in the next release and depending on feedback and my own experience with handling models there will be further improvements to this.
The scope of B3D is geared towards generating a retro look so in general it's not really a priority to go heavy on materials. However emissive color and texture for example are already being used since the introduction of the glow layer.
And normal map support is definitely planned.
Also by the way if you take a look at the runtime.js of the main plugin you might come across a commented out line referring to "PBRMaterial". Meaning I have been toying with these things and thankfully Babylon.js is fairly capable.
Regarding things like first/third person camera behaviors: in my view these should come in the form of examples. Similar to some that are already provided but more in depth.
Feel free to drop me a few lines: pixelrebirth@gmail.com
Your issue doesn't appear to be related to the Model plugin preview after all.
To properly install Baby 3D with all its parts you should unzip the archive you downloaded. Then open Construct 2 and drag each file with a c2addon extension into the C2 window. This will prompt you to install the addons.
Also remove any plugin or behavior folders you may have created manually first.
If the issue persists please create a new topic or contact me directly.






