summaryrefslogtreecommitdiffhomepage
path: root/templates/android_project/jni/basic_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'templates/android_project/jni/basic_game.c')
-rw-r--r--templates/android_project/jni/basic_game.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/android_project/jni/basic_game.c b/templates/android_project/jni/basic_game.c
index 987599a8..bf2d5d02 100644
--- a/templates/android_project/jni/basic_game.c
+++ b/templates/android_project/jni/basic_game.c
@@ -70,7 +70,7 @@ void android_main(struct android_app *app)
// TODO: Update TITLE screen variables here!
// Press enter to change to GAMEPLAY screen
- if (IsScreenTouched())
+ if (IsGestureDetected())
{
PlaySound(fx);
currentScreen = GAMEPLAY;
@@ -81,7 +81,7 @@ void android_main(struct android_app *app)
// TODO: Update GAMEPLAY screen variables here!
// Press enter to change to ENDING screen
- if (IsScreenTouched())
+ if (IsGestureDetected())
{
PlaySound(fx);
currentScreen = ENDING;
@@ -92,7 +92,7 @@ void android_main(struct android_app *app)
// TODO: Update ENDING screen variables here!
// Press enter to return to TITLE screen
- if (IsScreenTouched())
+ if (IsGestureDetected())
{
PlaySound(fx);
currentScreen = TITLE;