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

Game objects: reimplement movement as Transform and Rigid components #30

Open
pkulev opened this issue Jan 12, 2017 · 0 comments
Open

Comments

@pkulev
Copy link
Owner

pkulev commented Jan 12, 2017

Now Ship has _direction (int) and _dx, x pos is calculated as x + _direction * _dx.
https://github.com/pkulev/xoinvader/blob/master/xoinvader/ship.py#L194-L219

  • Add y movement (use vectors instead of int)
  • Generalize idea of objects movement
  • Rewrite Ship.update method to unify it
@pkulev pkulev added this to the Working alpha version milestone Jan 12, 2017
@pkulev pkulev changed the title [ship] Add ability to move by y too Game objects: reimplement movement as Transform and Rigid components Apr 23, 2017
@pkulev pkulev removed this from the Working prototype milestone Dec 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant