Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Actors to move forwards an amount according to their angle #193

Open
nbogie opened this issue Aug 7, 2019 · 2 comments
Open

Allow Actors to move forwards an amount according to their angle #193

nbogie opened this issue Aug 7, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@nbogie
Copy link

nbogie commented Aug 7, 2019

It'd be very useful to be able to say myActor.move_forwards(10) now that actors have a rotation.

It's quite a barrier for some kids just starting out in python to be faced with the trig before they can get such movement working - especially when it was so simple for them in Scratch.

@ericclack
Copy link

+1 from me. We're planning on introducing PyGameZero at Brighton Coder Dojo and anything that makes the step from Scratch easier would be great.

@QuirkyCort
Copy link

Wrote a helper library that adds in some of the capabilities in Scratch that are missing in Pygame Zero (eg. move forward, flip, scale, pixel perfect collision) plus a few more (eg. fullscreen, hide mouse). You can find it here https://www.aposteriori.com.sg/pygame-zero-helper/

This helper library should eventually be obsolete when these functions are added to Pygame Zero itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants