A Cross-platform Windows and Android C++ Game Engine Framework



Key Details

Made using C++ and the Android NDK with SDL.

2nd year University Assignment - Graded as a 1st.

A basic framework for creating C++ games that work on both Windows and Android.

Contains several pre-built classes and functions for use with project that use the framework.

Source code on GitHub

Online version of the documentation


The second assignment for Mobile Games Programming in level I. For this assignment we had to build a mobile game engine framework and to include at least one specific engine feature of our choice. I decided that I would create a framework that would allow cross-platform support for C++ on Windows and Android. It is built using the Android NDK with SDL2, SDL2_image, SDL2_ttf and SDL2_mixer. The Android debug apk can be built from within the Visual Studio project. My framework also contains pre-built code for A* pathfinding, line of sight detection, particle effects and flocking. Also contains a basic entity, state, texture, text, collision detection, audio, Vec2 and utilities class. It also has a State System and a basic UI system including buttons and arrow pads. This assignment was a graded a 1st.

GitHub source code: Audio Demo, Line of Sight Demo, A* Demo, Flocking Demo, UI Demo

Online Documentation: Audio Demo, Line of Sight Demo, A* Demo, Flocking Demo, UI Demo

© 2024 Jamie Slowgrove