Related Articles

Responses

  1. Good effort! A couple of issues:
    1) The motor is rotating in the air and not hitting the spacebar, so unless there is some wireless transfer of energy from the disconnected motor, I’m pretty sure there’s a sneaky finger off-screen hitting spacebar to make the dino jump 😄
    2) Your light sensor is nowhere near the oncoming cacti – its hard to see from the angle, but it looks like the sensor is pointed at the black frame of your screen – maybe this is why it is continuously detecting darkness and therefore triggering your motor to try hit the spacebar continuously (which is no doubt why you moved the motor away from the spacebar – to stop the continous jumping)?

    I would suggest moving the light sensor over the path of the passing cacti – as shown in the course video – and see if you can set the light sensor threshold to trigger a jump only when a cactus is under the light sensor 👍