apetavern / grubs

A worms-inspired artillery game for s&box with randomly generated levels.
MIT License
34 stars 7 forks source link

Camera should follow cursor when using a cursor-based weapon like Girder or Teleport #250

Closed trundlr closed 1 year ago

trundlr commented 1 year ago

Currently the camera continually tries to re-focus on the active grub, but following the mouse makes more sense in this case.

matekdev commented 1 year ago

Done, but it doesn't follow the cursor, I feel it is more natural to allow the user to pan the camera. https://github.com/apetavern/sbox-grubs/commit/fc4dd46740caed5d56959f5ae78797eda28bf92b