Skip to main content

Day 1: First things First

Hello, welcome back.

The first thing I wanted to get done so I can begin working on the MVP was to get the Switch Pro Controller working on my PC. I needed the device I was going to use for input before I could start working on the bare minimum product.

To get it to work in the editor I plugged in a USB Bluetooth adapter and searched for blue tooth device and found the Switch Pro Controller. Opened up Unity 2019.3.9f1 to see if it detected my device which it did.

My goal, as always, is to use as many plug-ins or packages in Unity without having to code new things by hand. Why code new things when someone already did? :D

I noticed that Unity at this time had a new input system they were working on and I decided to try it out and see if it would work in this situation. Am always interesting in seeing how they improve on current systems.

I followed the tutorial and got it all setup with default settings.

Now... deciding where to start on a new game takes some time to decide what is the simplest form of the game. I played Wind Waker and really broke down what the game is at its core and what mechanic I need in the game before all else. That had to be the character being able to move, camera following and rotate and gravity effecting my main character(link). Am going to leave out all other mechanics besides these. I want these to feel good and in this case, feel just like it does in Wind Waker. After all I am trying to learn how they made their game and what small things they did.

Reference to why I plan my projects this way:


Adding movement:

Footage taken from GhostRobo's Gameplay YouTube


I made a simple scene for testing purposes (No fancy graphics yet, purely for testing controls). We got a capsule with Character Controller and a simple Player Motor script. The Player Motor script gets the values from the input manager(Unity's new one) then gets the forward direction relative to the camera then moves the Character accordingly.

To make things simple for now I decided to parent the camera's pivot to the character(not final, just to make it simple). I then get the input from the other joystick to rotate it left or right. 

Demo of day 1 progress


There you have it. Stage one of making the MVP. The next step will be playing the source material and keeping sure the speeds are the same and sensitivities are the same. A lot is missing in the functions of moving and even in the camera(no zoom :0) but those things will come in the next step. Need to keep sure all the code is clean before moving onto the next step. And keep sure the movement and camera rotation is solid.

At this point we are at commit 954737b.