Hi, I have a problem with my coding in App Inventor. I hope that some of you may help me with my query. I've made a game which compromises of 3 levels for now. I have a level menu screen which requires players to go to the screen to choose the next level. When it is initialized, I want only the button for the first level to be enabled, while the other buttons are not. However, when I press the button to the Level screen and coming back to press the next level, I want the button for the 2nd level to be enabled for players to press and go into the level's screen. I've tried a few methods already such as calling different actions in the screens, but once the screen is initialized, the buttons will just set back to the states I've set them in the "when screen is initialized" block. I also want the players so that they can choose to play the previous levels and the next level. Can anyone help me with my problem? I will send a few snapshots of my code below:
To close the current screen just use the close screen block (I.e.NOT the close screen with value block)
EDIT: you might want to maintain a list of the already solved levels in TinyDB to be able to decide, which buttons should be enabled in the LevelScreen