You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a few minutes looking and surprisingly could not find any block that provide the distance formula / Pythagorean theorem to check how far away sprites are from each other easily, analogous to how scratch provides distanceTo.
I would expect this to be included on a platform designed to teaching children programming through 2d games. Sure, I could dedicate an entire lesson to teaching how the pythagorean works, or manually check the differences betwen player.x - other.x < threshold and .... But for some children that is just too complicated to teach at the moment or too many steps to keep in their head at once, and serves as a conceptual roadblock in lessons, when they otherwise would be able to follow the rest of the gameplay logic just fine.
I would rather not define my own function for this. It is reasonable for it to be builtin.
The text was updated successfully, but these errors were encountered:
spaceunifyfifty
changed the title
Add distance block for checking if sprites are near each other
request: Add distance block for checking if sprites are near each other
Jul 22, 2024
I spent a few minutes looking and surprisingly could not find any block that provide the distance formula / Pythagorean theorem to check how far away sprites are from each other easily, analogous to how scratch provides
distanceTo
.I would expect this to be included on a platform designed to teaching children programming through 2d games. Sure, I could dedicate an entire lesson to teaching how the pythagorean works, or manually check the differences betwen
player.x - other.x < threshold and ...
. But for some children that is just too complicated to teach at the moment or too many steps to keep in their head at once, and serves as a conceptual roadblock in lessons, when they otherwise would be able to follow the rest of the gameplay logic just fine.I would rather not define my own function for this. It is reasonable for it to be builtin.
The text was updated successfully, but these errors were encountered: