-
Native Camera support on Godot engine for Android. (https://github.com/thiagobruno/GodotCamera)
-
Godot version 2.1.5 stable.
-
Download source Godot 2.1.5 stable "godot-2.1.5-stable.tar.xz" (https://downloads.tuxfamily.org/godotengine/2.1.5/).
-
Unzipe the
module/GodotCamera.zip
-
Drop the
module/GodotCamera
folder insidegodot/modules
-
Move the
module/GodotCamera.java
togodot/platform/android/java/src/org/godotengine/godot
- #> scons platform=android
- cd godot/platform/android/java
- #> ./gradlew build
- The custom apk will be available at
godot/bin
,android_debug.apk
andandroid_release.apk
Add the following in the engine.cfg file:
[android] modules="org/godotengine/godot/GodotCamera"
See the example to learn more about how it works
Export->Target->Android
Custom Package (Debug/Release):
Point to the newly built apk
Permission check: CAMERA, READ/WRITE _EXTERNAL_STORAGE
- You open the game, and it locks and closes:
Check the above permissions
- Camera preview in scene or object like a TextureFrame, Sprite or other.
- Fix rotate camera
- Auto-Taken after seconds or face-dectect
- Loader
- Picture Resize / Quality
- AI / Face detect, recognize
####License MIT
###Special Mention Thanks TeamGeraçãoWeb