An Android exergame developed in Unity and C# for my bachelor's thesis. It combines a 3D endless runner with daily step counts: physical activity earns time to play.
Problem: Explore how everyday physical activity can be connected to progress in a mobile game.
Approach: Combine a lane-based Unity runner with a daily step-count integration and convert steps into available playtime. Keep gameplay, menu state and playtime management in separate C# components.
Result: A thesis prototype, an original Android build and the accompanying thesis document. This repository demonstrates the implementation; it does not claim a measured increase in physical activity.
- Lane-based running, jumping and swipe controls.
- Daily step counts converted into available playtime.
- Timed play and a walking-based play mode.
- Locally stored progress and high scores.
- Unity 2021.3.24f1, as recorded in
ProjectSettings/ProjectVersion.txt. - C# gameplay scripts and an Android build target.
- A fitness-data integration used to retrieve daily steps.
- Clone this repository and install Unity 2021.3.24f1 through Unity Hub, including Android Build Support if you want to build for Android.
- Add
com.Company.JumpAndRunas the project folder in Unity Hub. - Open
Assets/Scenes/menu.unityand inspect the menu and gameplay scenes. - Before using step-based gameplay, configure the fitness-data integration in
Assets/MenuManager.csfor your own test environment. The original project uses a personal endpoint; its service availability is not guaranteed. - Select Android in Unity's Build Settings to create a device build.
This repository preserves an academic prototype and its original thesis materials. The Android build and external fitness integration have not been revalidated against current devices or services. Third-party models and other assets retain their original licenses.
For a bug report, open a repository issue with steps to reproduce, expected and actual behavior, and your browser or device details. Discuss substantial changes in an issue before opening a pull request. Keep changes focused and describe how you checked them.