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

How does the Skybox work?

A topic by CataByte created Nov 29, 2025 Views: 111 Replies: 3
Viewing posts 1 to 3

Hi, how does the Create Skybox event work? Can a texture be applied or is it a solid color?

Developer (1 edit)

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 (NOT ANYMORE IT'S PNG BY NOW). 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

Okay, thank you very much. Can the Skybox be changed through an event, or is that not possible?

Developer

There are currently no other actions or conditions related to the skybox.

Do you want to change the texture? It would probably be most feasible to destroy the skybox and create a different one in its place. So a "Destroy skybox" action could be in the next update.