Hi guys, I am making a guitar tuition app and have several screens which are the chord screens. Basically my home screen has a-g chords to choose from, each of which has a button to open the corresponding screen. So when I press the A chords button, it should go to the A chords screen. Trouble is, none of the buttons are working at all. Any ideas?
It isn’t a new screen for every chord. It’s a new screen for each set of chords. So all the A chords is on 1 screen, all the B chords on 1 screen. And so on.
Ok, but that shouldn't be necessary either ... and did you add the click sound files (which format) to the assets ... so before we continue puzzling, post the aia.
@loganbiffy Does the sound play if you drag out a copy of the Play block and use the “Do It” item on the right click menu (needs active companion connection)? It might be the case that preparing to play the sound takes longer than switching the screen so the sound doesn’t play. This will help show whether that is a possibility or not.
In the blocks palette open the “Any Component” section and find the “Any Button” entry. Select that and find the when any Button.TouchDown event and drag that into the workspace. Place your call Click.Play block in that event rather than in the when ____.Click event and see if that helps.
Here is a reworked copy, using a Player onstead of a Sound, to get the completion event,
and with revised screen handling for the first 2 screens, screen1 and A_chords. GuitarTuitionABG.aia (3.1 MB)