The problem is after the person has played one round and fails they are taken to the "fail" screen and then they click the "play again" button and go to the "Instructions" screen but on the "Instructions" screen when they press the continue button to go the level 1 screen the game crashes. Says the game has stopped.
Sorry i know it is long and confusing but i really need help on this if you need more info or pictures let me know.
it seems to be, you are never using the close screen blocks
is there a way to carry a "start value" when the screen is closed? Like when we say open screen name ____ with start value ________ ???
If you say open with start value, the value is passed to the opened screen. If you have to get the value back at the original screen, you can use the close screen with result block and trap that back on the original screen.
You can also, almost more easily, transfer this sort of data from screen to screen using a TinyDB...
see here how to switch screens correctly
The recommended method of switching screens in App Inventor
is there a way to carry a "start value" when the screen is closed? Like when we say open screen name ____ with start value ________ ???
If you say open with start value, the value is passed to the opened screen. If you have to get the value back at the original screen, you can use the close screen with result block and trap that back on the original screen.
You can also, almost more easily, transfer this sort of data from screen to screen using a TinyDB...
댓글 없음:
댓글 쓰기