Shinjingi / Unity2D-Platform-Character-Controller

2D Platform Character Controller for Unity.
86 stars 23 forks source link

Questions on programming workflow #1

Open kwhitejr opened 2 years ago

kwhitejr commented 2 years ago

Howdy @Shinjingi , thanks for releasing Part 2 of 2D Character Controller. Found your Part 1 via GMTK. I appreciate your programmer's approach to the process. Took me a long time to find someone who isn't just building a monolith Character Controller class. I have a couple questions about your workflow from a programming perspective.

I watched you Lost Temple Chapter 0 video and heard you mention using debug tools. Not sure if these debug tools are in Unity of Visual Studio or both? Was wondering if you could provide some insight on...

  1. What debug tools do you use (for example, to know whether two objects collide as expected or to see whether coyote jump code is firing as expected)? I have some experience with VS Code and Intellij, but haven't figured out how to run debug mode of scripts while a Unity game is running... or if this is even feasible when it seems like a lot of functions once per frame.
  2. Do you write tests for your C# classes / mono behaviors? If so what does that look like?
  3. In Lost Temple Chapter 0 I saw your character could dash, wall jump, and wall slide. My guess is that dash is an update to Capabilities/Move, but how do you conceptualize wall movements? Is it something like a Check/Wall?
  4. Slopes? πŸ˜„

Great work, man. Hope to see more!

Shinjingi commented 2 years ago

Hi Kevin, first of all thank you for watching my video and for your kind words and suggestions. As for your emails I will answer them once I have some free time, so that i can answer them properly. Be aware that it may require some time. Thank you, Shinjingi

Sent from Libero Mail for Android Friday, 08 July 2022, 07:08am +02:00 from Kevin White @.*** :

Howdy @Shinjingi , thanks for releasing Part 2 of 2D Character Controller. Found your Part 1 via GMTK. I appreciate your programmer's approach to the process. Took me a long time to find someone who isn't just building a monolith Character Controller class. I have a couple questions about your workflow from a programming perspective. I watched you Lost Temple Chapter 0 video and heard you mention using debug tools. Not sure if these debug tools are in Unity of Visual Studio or both? Was wondering if you could provide some insight on...

  • What debug tools do you use (for example, to know whether two objects collide as expected or to see whether coyote jump code is firing as expected)? I have some experience with VS Code and Intellij, but haven't figured out how to run debug mode of scripts while a Unity game is running... or if this is even feasible when it seems like a lot of functions once per frame.
  • Do you write tests for your C# classes / mono behaviors? If so what does that look like?
  • In Lost Temple Chapter 0 I saw your character could dash, wall jump, and wall slide. My guess is that dash is an update to Capabilities/Move, but how do you conceptualize wall movements? Is it something like a Check/Wall?
  • Slopes? πŸ˜„ Great work, man. Hope to see more! β€” Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you were mentioned. Message ID: @ github . com>