6.3.5 Cmu Cs Academy
Based on common versions of CMU CS Academy, the 6.3.5 exercise often reads something like this:
But for , stick to the discrete movement inside onKeyPress . 6.3.5 Cmu Cs Academy
You put the movement code inside onKeyPress instead of onStep . Fix: onKeyPress should only toggle a variable ( app.moving = True ). The actual coordinate change ( shape.centerX += 5 ) must go inside onStep . Based on common versions of CMU CS Academy, the 6