The aim of this project was to experiment and develop a physics engine entirely from scratch.
The project covers the following areas:
- Objects inherit motion attributes (velocity, acceleration, etc)
- Objects are effected by gravity from all angles
- Polygon collision detection
I also wanted to experience Graphical Programming with the use of OpenGL ES 2 and its rendering pipeline.
AndroidNDK: Call native C++ through JNI
OpenGL ES 2: Surface rendering (Bare-bones version for mobile devices)
GLM: Provide OpenGL math functions
libzip: Extract APK to make assets readable natively
libpng: Read image assets natively
googletest: Unit testing natively
Compiles successfully using the following versions:
android-ndk-r10 r15 gives errors when using stlport
android-sdk-25.2.5 Newer version removes ant build scripts
Check travis-ci build logs for further details.