Need help to optimize my blocks

Tested apk , crashes

logcat

10-16 23:35:35.136 6511 6511 E AndroidRuntime: Process: com.plumedours.quizdepartements, PID: 6511 10-16 23:35:35.136 6511 6511 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.plumedours.quizdepartements/io.kodular.m_69mwell.QuizzDepartements.Screen2}: /tmp/1634414447797_0.23477283143716565-0/youngandroidproject/../src/io/kodular/m_69mwell/QuizzDepartements/Screen2.yail:1023:39: unbound location null

I see in logcat unbound location null so check Avoid Crashes of the Application for some of the components

Most probably About Title Screen is empty in other screens, if not check long list in topic

1 Like

I just noticed that I have the same crash … I had only tested with the Companion. And I checked, all screens have a title (Screen1, Screen2, etc …), but the “Title visible” box is unchecked.

I’m going to see the list to try to see where it came from, thanks

1 Like

Not that, check

image

1 Like

Yes, indeed there is this title, and I also have all my radio buttons … I will continue to read the list ^^

1 Like

@dora_paz Thank you ! I fixed the crash bugs, didn’t get any new ones.

I have a few options to improve, for example when I press the back button on the phone, that kind of little detail ^^ But I think the game is working fine!

QuizzDepartements.apk (9.0 MB)

1 Like

Tried and runs ok, without knowing french I got a pretty nice result :slight_smile: The only thing I noticed is that correct sound doesn’t work only wrong

Thanks for your return !

However, I don’t have a problem with the sound, are you sure you’ve found a good answer? ^^ It shouldn’t be easy when you don’t understand what is written at all!

I’m sure cause I see it in the result page

I had to increase sound level :slight_smile: works fine

1 Like

Yes now no problem… good UI… i like it. Especially time progress bar for each question… you Did it well. :ok_hand::ok_hand::ok_hand:

If possible , I user press wrong, try to notify the user with clicked option in one colour and correct option in green colour as well as other options are in red. :+1::+1::+1:

1 Like

Thanks for your advice !

@Still-learning , if I understand correctly, are you suggesting that if you press the wrong answer, the button you press is a different color than the other wrong answers, Like in your last example? Yes ! I like the idea! I will try thanks!

1 Like

Hit on Bang… you got it… :+1::+1::+1:

I’ve tested this fixed crash bugs version and it’s working fine for me as well dispite the language barrier.

Congratulations and keep it up the excellent block coding ideas!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.