Bonjour Bonjour, fellow citizen of Belleville.
As i said last post, today is all about the PLAYER CHARACTER. But lets face it, for now i just want to copy the work of Arkane homework from dishonored 2. So first, lets get a simple character movement controller.
Simple Player Controller
For now, the player controller can run, jump, crouch, move the camera to the left or right with an angle, and, it is not visible in this sneak peek but, there is a nice step mechanic so the character does not get stuck on small ledges.
You can also see some minor feedback like a head bob when walking or running and some vignette effects when crouching. Those are good ideas, but their current implementation is not great. It is not really seamless with the entire script, and it can be abrupt or create visual artifacts.
Here are some of my references :
Grid Master (Shaders Material for the walls, great for quick blockout) : https://assetstore.unity.com/packages/vfx/shaders/grid-master-286714?srsltid=AfmBOorfn9bzwQiknhjImHSm0zLL1blzQulLkfgLLrqp_nlJAFiksdoG
Dave make some great tutorials with accessible script : https://www.youtube.com/watch?v=xCxSjgYTw9c
I'll share my entire script once it is all good and clean.
What's Next ?
Now that we've got the main movements, what's next?
Well, we still need to be able to slide, ledge climb, and swim. Sliding and swimming can be easily implemented, we just need to add new variables and conditions. But ledge climbing is going to be the hardest, mainly because there are so many environment variables to take into consideration that i will probably dedicate an entire post about it in a few weeks.
But this is not the end for our player character. We will then add feedback to each of those movements, AND there will be an entire post about variables of those movements and what those variables are for Dishonored 2.
So stay tuned and wait for the next blog post next week.
Cheers.
Aucun commentaire:
Enregistrer un commentaire