In the previous version, pressing diagonal made you move faster as you were adding movement in the x and the y direction. In this version, extra variables have been added to store the speeds in the x and y direction and we use pythagorean threorem to calculate the factor to reduce the speed.
Used for the CEMC 2025 Conference : Coding through Math Presentation Nathan Rowbottom nathaniel.rowbottom@granderie.ca Sheri Hill hillshe@hdsb.ca Other versions Dodge Game Iterations below: 1 https://scratch.mit.edu/projects/1205424481/ 2 https://scratch.mit.edu/projects/1205507681/ 4 https://scratch.mit.edu/projects/1205514130/