Related Articles

Responses

  1. Good effort. I see your dino jumps all the time, and the light sensor does not update very often – so I think you have a long delay of 0.5 to 1 seconds in your main loop during which time the Cube does essentially nothing and missed the passing cacti. So you’ve probably set your light sensor reading low to compensate, and now your Dino jumps all the time.
    So fix the delay to make your code detect cacti quicker, and fiddle with the light sensor reading to have the Cube jump by itself.
    Good effort 👍