10 days to use a new library


This might have been a too ambitious choice for #DemakeJam. Although pushed through it. I just trusted my subconsciousness.

However, using, compiling never used before library like OpenCV and figuring out how some of its extras work, like Aruco, is a challenge itself. Spending approximately 20 hours on this game, was enough to barely having basic OpenCV work. Hence the game is overly primitive.

What would need to be done more is definitely optimizations. I thought about using fragment shaders for preprocessing camera images, RenderScript or OpenCL (which is the most familiar to me). However, it's a complicated process to extract and reproduce code in C++ with macros into something else. Compiling CV4Android with OpenCL was also not too promising, as you know... CMake...  using CL/GL hybrid library from the Mali GPU. Therefore it could have been only limited to devices with Mali (but I don't know for sure).

Of course it's just a prototype. To call it a game, there would need to be some dynamic and not just mindless tapping Diglett. Also adding some effects like actual 3D models on markers. Or I could have just used Unity.

All in all, it's great to see that many devs taking part in this jam.

Files

Board with markers 20 kB
Aug 24, 2018
Android_arm 6 MB
Aug 24, 2018
Android_arm64 7 MB
Aug 24, 2018
Android_intel_x86 16 MB
Aug 24, 2018

Get Diglettuco

Leave a comment

Log in with itch.io to leave a comment.