Do any of you have any experience with AR in Defold ?
Is there any demo of how the camera can be used in games created in Defold ?
I would like the Camera view to be the background for some gameplay elements in the game
Do any of you have any experience with AR in Defold ?
Is there any demo of how the camera can be used in games created in Defold ?
I would like the Camera view to be the background for some gameplay elements in the game
Here is extension-camera you can use.
Also, @britzl has an old face recognition example, more likely it’s outdated, but it should be possible to update it https://github.com/britzl/facesnap
I tried to run both the example and the camera extension, but unfortunately, they are throwing errors.
I will be analyzing them.
However, there is something else that concerns me. From the description, it seems that the extension does not work for the HTML version. I am most interested in the camera for this version. Can you provide any guidance on this matter
It should be possible to expand the camera extension to also work on HTML5, but this is not something we have worked on. I’d estimate it to medium difficulty and 2-5 days of work.
@britzl - thank you for the information
I am now testing the WebView extension which I also see is only available for Android and IOS. For the HTML5 version of the game, is it possible to display a web page in a specific area ?
I suppose you could do it through some Lua to JS interop. There is html5.run() which can evaluate Lua code on the page. You could use this to show a hidden div or iframe.