Related Articles

Responses

  1. Hey Stina! Your dino is one enthusiastic jumper! It looks to me like the light reading value you’re getting of ~300 (which is pretty dark) is causing your code to constantly think there’s a cactus and so hits jump. In the video you uploaded it looks like your light sensor is on the edge of the screen and so measuring the dark area on the edge of the screen rather than positioned over the area where the cacti are rolling past – but perhaps this was just a temporary setup and you uploaded the wrong video?
    But you look like you have all the elements working, so good job so far! Try move the sensor to the cactus area and make sure you choose a proper light value for your setup (each setup will be a bit different) to trigger the jump to give your dino a break 😀