Skip to content

Android app where you navigate a stranded astronaut in space

License

Notifications You must be signed in to change notification settings

aishsingh/physicsgame

Repository files navigation

Physics Game Build Status Coverage Status Licence

alt tag
alt tag

Aim

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.

Frameworks

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

Compile requirements

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.