Skip to main content

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

Hey, I've been enjoying the plugin so far. I'm on version 0.87 and I want to update to 0.88, do I just drag and drop the newest version into C2? Is there the possibility of it removing the b3D behaviors from already existing 3D objects?


By the way, I can't quite seem to figure out how to use the "add skybox" action

(1 edit) (+1)

You can update by simply dragging the c2addon files into the C2 window. Just remember to update every single plugin and behavior. And do keep backups in case anything goes wrong.

The "Create skybox"-action will create a box a bit bigger than your layout size with a cube material. What it does expect however (and can hardly be known due to lack of documentation) is the textures for the six sides of the cube be added as files and follow a certain naming convention.

To quote the Babylon.js documentation: The CubeTexture constructor takes a base URL and (by default) appends "_px.jpg", "_nx.jpg", "_py.jpg", "_ny.jpg", "_pz.jpg" and "_nz.jpg" to load the +x, -x, +y, -y, +z, and -z facing sides of the cube.

So with the plugin the base URL would be the name you give the skybox via the action. If you check out the full documentation entry here you can quickly grab the example images to test for yourself(which I just did to make sure the skybox feature actually still works and gladly it does).

Thanks for using the plugin! I'm glad you like it so far.

By updating every single plugin, do you mean I also have to manually go through each object and and replace the old behaviors with the new ones? Is there a quicker way to do it?

(+1)

No there seems to be a misunderstanding. The plugins/behaviors will be updating, which technically isn't making any change at all to your project. Just open Construct 2, drag over all the new c2addon files, then open your project which will now use the updated versions.

No need to manually go through anything in your project (unless there was some sort of major/breaking change in how things with the actions etc. work, which there wasn't). 

Alright, thanks!

Oh, just one more thing. What exactly does it mean when the game says "unable to create VAO"?

(+1)

Never had that one before. Any specific circumstances this occurs for you? 

From what I can tell it's a Babylon.js issue (VAO stands for vertex array object) that can occur when certain features are used and the window is being resized, maybe...

Again if you have any details on this error please do provide.

Often times when I try to run my project, it'll either immediately crash or it'll give an error message saying "unable to create VAO." When that happens, the 3D rendering doesn't work and Construct 2 starts lagging really bad. It happened somewhat frequently, but today it decided that it doesn't want to work at all. I've tried running my project dozens of times and it keeps crashing on any layout that uses "run render loop."

It could be something I'm doing wrong using the plugin. I can try providing the .capx for it if that helps

Actually would be cool if you sent me the project file so I can look into it properly. 

pixelrebirth(at)gmail.com

Thank you!

Alright, thanks!