Sharing a single Notifier across multiple purposes can become a nightmare of complexity.
Use multiple Notifiers and name them well, like ntfLaunchMissiles.
Sharing a single Notifier across multiple purposes can become a nightmare of complexity.
Use multiple Notifiers and name them well, like ntfLaunchMissiles.
Replay erases the numbers and starts the same, with the numbers in the same position, while the quit it erase the numbers and put them in other positions like closing the account.
It's just one game
what does "shuffleNumbers" then? Anyway, placed in else statement the same than when initializing the game. Was this game already in the last aia you shared yesterday? (to take a look)
For me the options have not sense....Replay = starts exactly the same game, with the numbers in the same position...and Quit = re-start the game with shuffled numbers.
Anyway, if you want that, the only difference between to get the same numbers combination or not, is to reset the used lists:
So now, if Quit option is clicked, a new numbers combination will be placed in the game.
And if you are not going to trigger any other notification, you can remove Notifier2. It's true what @ABG said, but it doesn't apply here...you are using only one notifier to notify only one thing. The notification has two different buttons, to be able to triggers two different actions depending on the election. That's right.
Ramon Thanks, now it's the way I wanted it.
Everything ok now.
As an alternative to multiple Notifiers if you don't want to clutter up the Designer, you could use unique responses to Notifiers and an if/then/elseif ladder in the Notifier response Event.
For example, instead of Quit, use Quit Game and Quit App as responses, to avoid ambiguity.
Instead of OK, use OK Sign Me Up For Whole Life Insurance.
Unfortunately, I don't quite understand it
Great, I just got back into it now, followed your advice and it worked, doing the same on another app with 12 virtual screens.
there are 10 more apps left that I will put on the remaining 10 virtual screens.
The first 2 work fine.
If I need any help I'll ask here again about whatever problem I'm having.
An app that will have 12 more in it, instead of filling my phone with 12 different icons.
I'm learning little by little with you, thanks for your guidance and patience.
Be aware, if you are using a lot of blocks, if you get to @ 9000 blocks on a screen, you may need to consider using another real screen...
Yes, quite right, I thought I'd get confused with the many blocks, I'll try to put them in order from left to right in columns that will each correspond to each application, only a few will be common like: when the screen1 Initialize, and the notifier.
I will place these on the top for easier access.
Some problems may arise along the way.
We will see that
I just put one with voice assistance - voice assistance, to navigate the web with just voice, and it gives me this message as soon as I ask for something by voice.
It's something I don't understand
That error is due to you are trying to access to the element in position 0 of the list....which is not possible (positions start by 1). Show your relevant blocks.
The error occurs while using a select list item block...
Therefore these are not your relevant blocks...
Taifun
I don't understand what you mean, I have the same in a separate application by itself and it works fine, without this error.
The only difference I can tell, is that I put it with others on its own virtual screen.
what is this list?
check if you have a list in the other blocks...the error is trying to access to a list item with index=0.
have you checked these blocks are exactly the same than in the app where it works? maybe the error is from a list of other virtual screen.
these again are not your relevant blocks
from your error message we can see, that you are trying to select an item from your shuffled list
Taifun