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

melhorar controle dos tacos #1

Open
2 of 3 tasks
iudizm opened this issue May 21, 2021 · 1 comment
Open
2 of 3 tasks

melhorar controle dos tacos #1

iudizm opened this issue May 21, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@iudizm
Copy link
Owner

iudizm commented May 21, 2021

Atualmente:

  • os tacos não tem inércia no eixo
  • só é possível mover um taco por vez,
  • os tacos podem passar do limite da tela

https://docs.python.org/3/library/turtle.html#overview-of-available-turtle-and-screen-methods

@iudizm iudizm self-assigned this May 21, 2021
@iudizm
Copy link
Owner Author

iudizm commented May 26, 2021

Talvez a melhor possibilidade seja utilizar os métodos disponíveis do Turtle Graphics, e orientar os tacos a se moverem ( 'frente' e 'trás' ) no eixo Y utilizando fd() e back().

  • só é possível mover um taco por vez,

Creio que é possível corrigir isso utilizando o onkeypressed e onkeyreleased

A implementação pode ser na forma de um inputHandler

@iudizm iudizm added the enhancement New feature or request label May 27, 2021
iudizm pushed a commit that referenced this issue May 28, 2021
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

1 participant