Capstone | Player Controller

For my Game Design program’s Capstone year I have taken on the primary role, “Programmer”, for Team Voyager, and as such will be chronicling the process of creating a versatile player controller for use within the Unity game engine. Having created multiple first-person controllers in the past, and being unable to properly remove the “Unity” controller feel, I have decided to base this player controller of off the Kinematic Character Controller available on the Unity Asset Store, provided by Philippe St-Amand.

The first step of the process was to determine what the team, as a whole, desired for the player controller, e.g. what movement should feel like, if abilities are present and how they should feel, as well as taking into consideration the 8 month timeline for the project’s scope. After getting individual briefs from the team, I was left with the following information as to what our intended “Diverse Movement” meant to each team member.

Blair:
Unique movement means, on top of what you expect in a generic FPS (sprint, left, right, jump, crouch) I think it means having permutations of those (double jump, directional dash) something to do with variable physics, climbing is also interesting, grab ledges, coyote time. Nothing crazy, just straying from the generic.

Nick:
good feeling movement, think less Call of Duty: Black Ops and more Destiny, it’s in tune with the world, if I look at something and want to go there, I can do a jumping puzzle or there are a variety of ways to get there, sliding is super important as a fluid mechanic.

Becca:
Apex legends sliding is a great movement tool, can continue slides downhill if wanted, as well as chain-able into jumps and back into slides

Elijah:
Lot of room for verticality, depends on what our medium will be, since we are non traditional implies tool usage, are we using jetpack or traversal tools? thinking about economies for such movement and how it can be applied, we can mess with gravity as we want, and how we will utilize movement abilities, fast or slow matters but zooming super fast AoT style compared to quake movement doesn’t particularly matter. Meso or Micro leaning will be determined by the kind of movement / controller we have for the player

Marcus:
I think of deadlock, unique movement system, jumps are variable with other movements, wall bouncing, reduced gravity and increase air mobility.

Brandon:
Unique movement to me means the presence of a skill ceiling to movement, in other words the ability to intuitively chain movement as needed or wanted. for example destiny allows for dashing to increase movement speed for a small duration after the actual dash (velocity slowly resets back to the normal run speed), which can be chained with a jump or slide as well as other movement related class abilities, allowing an experienced player to move faster/more precisely. Alongside that, a camera that presents the player with feedback on their movement (leaning cam when accelerating really fast, reference bungie FPS GDC)

To start, I imported the package to a new Unity 6.3 LTS project, utilizing the Universal Render Pipeline. Next, utilizing the walkthrough guide provided by the asset package, as well as various online implementations of said package, I began by structuring out the Player Controller.

Script Notes