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

Turn speed of units, make slower? #60

Open
poVoq opened this issue May 9, 2015 · 1 comment
Open

Turn speed of units, make slower? #60

poVoq opened this issue May 9, 2015 · 1 comment
Assignees
Labels

Comments

@poVoq
Copy link

poVoq commented May 9, 2015

Right now the turn-speed of the units seems nearly instant, which makes the game look... hmm can't think of the proper term... cheap? Of course it should not be too slow either, to not let it seem unresponsive... something in between ;) Thanks!

@methusalah methusalah self-assigned this May 9, 2015
@methusalah
Copy link
Owner

rotation speed is hard coded to 720 degrees per second. It's quite fast, and not customisable.

But it's a part of a more important problem concerning unit motion. The acceleration and rotation capabilities of units and projectile are both simulated by a single "mass" value, wich is not sufficient. We need to have more values like :

  • stationnary rotation speed, 0 if impossible
  • turning radius
  • acceleration
  • brake
  • mass for flying objects like projectile.

So it will be refactored, yes. but maybe not tonight ^^

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

No branches or pull requests

2 participants