noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
462 stars 25 forks source link

Allow using WSAD for movement #288

Open dennwc opened 3 years ago

paperjack93 commented 3 years ago

This has many gameplay issues and should not be implemented IMO. If we unbind the movement direction from the mouse, then you can run backwards and this gives a gameplay advantage. If we make the character rotate towards a virtual mouse position, then it becomes nigh unplayable as you only have 8 directions compared to the limitless mouse directions.

dennwc commented 3 years ago

There are two things to consider.

First, Nox actually separates the running direction from aiming direction internally. I used it to implement gamepad support, where one stick will control the movement and the other will control the cursor.

I agree that it gives some advantage, e.g. you could cast Fireball backward. But I think it can still be balanced, e.g. forcing Jack to stop if you try casting backwards. Or just firing straight instead of backward (we can check heading direction versus aiming direction).

As for the 8 directions vs unlimited, yes, this is a sacrifice that you have to accept if you use this input mode. But again, since aiming is separate, you will only have to sacrifice movement precision only.

paperjack93 commented 3 years ago

I think then an option to disable it should be given to the server owners. Every little advantage can be big difference in high level competitive matches, and being able to shoot in a different direction definitely counts

dennwc commented 3 years ago

Agree, the only way to add such constraints is probably #229.