Hi, its me again
I’m developing an app in MIT App Inventor called Snark, your passive-aggressive pet. I have implemented a function to count how many times the user touches Snark. The idea is that if the player touches Snark more than 20 times, an alert message should appear saying:
"It seems you’ve angered Snark too much, you lost."
However, instead of showing the alert, the app closes immediately right after Snark shows that it’s angry.
Here’s a summary of how I set it up:
- I use a global variable
ToquesSnark
to count the touches. - When
ToquesSnark > 20
, Snark shows an angry phrase. - After that, I want to show a
Notifier.ShowAlert
with the message. - But instead, the screen closes without showing anything.
Does anyone know why this might be happening? Could it be a logic issue in the event, or maybe an error in how I’m handling screens or timers?
Thanks in advance for any help or suggestions!
Snark_tumascotapasivoagresiva_1 (1).aia (747.7 KB)