chickensoft-games / GameDemo

The Chickensoft Game Demo — a fully tested, third-person 3D game built with Godot and C#. Now with saving and loading!
https://chickensoft.games
MIT License
337 stars 23 forks source link

feat: Add joypad camera support #12

Closed emersonbottero closed 7 months ago

emersonbottero commented 7 months ago

Take a look at InputExtensions and see if it makes sense to be part of your library... the intention is to keep the logic used in the mouse the same with the one used with joypad.. since is my first interaction with your libs and even Godot it can be completely wrong.. 😆

jolexxa commented 7 months ago

Looks like two whitespace changes still need to be made (see previous comments) and we're not quite back at 100% test coverage yet. Super close!

(InputUtilities.cs)

image

(PlayerCamera.cs)

image
jolexxa commented 7 months ago

This is really awesome work. Thank you for doing the tests and dealing with all the Joypad input simulation to make sure it's good. I'll merge if you're ready!