Main site search problem

When I search the word “acquire_camera_focus” or “use_camera_projection” in the “defold.com/learn/”, why no results?

We are slowly reworking how the camera is working. In a recent version we removed the need to acquire camera focus. A camera will automatically send its view and projection to the render script.

I found it on the site after an hour of research. There is an explanation about “Acquire_camera_focus” on the site, but this word cannot be found in search results. My question is not “What are these definitions”. My problem is that this word cannot be found in search results. Please try to search the word “Acquire_camera_focus”.
(Camera component manual : Using the camera. All cameras are automatically enabled and updated during a frame, and the lua camera module is available in all script contexts. Since Defold 1.8.1 there is no longer a need to explicitly enable a camera via sending an acquire_camera_focus message to the camera component.)

Yes, I’ve also seen that it does not show up in search results. The reason? It should no longer be used. It is considered deprecated and will at some point be removed. What we need to do is remove “acquire_camera_focus” from all documentation and examples. If you’ve come across “acquire_camera_focus” somewhere, please let me know where so that I can make the necessary changes.

1 Like

so please update the “player.script” in “Pixel Line Platformer” sample game .

Done!

1 Like