Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Designing controls for a moba hybrid

Discussion in 'Game Design' started by snacktime, Dec 20, 2017.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    So the game has some things similar to a moba. Probably more similar to Albion Online in the core gameplay.

    The main challenge I'm having is finding good controls for movement and camera panning. The camera is always locked to your character or your vehicle. The challenge is sometimes you need to pan the camera. Sometimes for the building part of the game. Some due to the fact that the camera angle is a bit more relaxed from a typical moba, there are situations where you want to pan to get a better view (although more in strategic situations not in the middle of combat). Plus vehicles have panning as a default, so it just seems more congruent if characters can pan also.

    So starting with right mouse is move. My first thought is a hotkey that when pressed turns right mouse into camera pan. Most likely the space key being the default bind.

    Actually I can't really think of any other good options. The only other one I can think of is a mode where camera always follows the mouse. But that wouldn't work for most people who are clickers, and I'm not even sure it has many advantages to start with.

    FYI it's a PC game, don't need to factor in mobile.
     
  2. Martin_H

    Martin_H

    Joined:
    Jul 11, 2015
    Posts:
    4,434
    I prefer WASD for panning by a large margin. If you're usually in cam follow mode, I'd go for a button that when held enables WASD panning and overrides whatever keys are bound to WASD normally. That's what I've gone for with my project, using middle mouse button as the key to hold, which also turn mouse movement into camera rotation.
    If you're really close to the MOBA genre, I'd follow as many of their (meaning DOTA2 or LOL's) conventions as you can.
     
    RavenOfCode likes this.