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

Camera focus

A topic by Construct2notbadnow created 24 days ago Views: 77 Replies: 5
Viewing posts 1 to 2

Hi Pixel Rebirth, i'm doing Detroit on construct 2, but I can't focus the camera for cinematic effect. 

I would like to know if it is possible to focus the camera so that the background is blurred. Is there some function or JS command?

Developer

You're probably referring to depth of field. It's an available lens effect in Babylon.js and will be also added in the next update.

(1 edit)

Can I call what effects for a js function?

Developer

I'm sorry I'm not certain what you mean. Did you want to add depth of field yourself via direct javascript?

Yeah, but can I call any babylon.js function for a browser excuse js in c2? 

Developer

Well sure you could do stuff with the "Execute javascript" action of the browser object.

Referring simply to "BABYLON" works. You can access the scene when you use "b3dScene". 

Beware though such manipulations require good knowledge of the subject matter.