Resurgent Machinations Prototype v0.0.1


Hello all! This is CyberPhoenix and welcome to (hopefully the first of many) Devlogs for this little project I have decided to dub "Resurgent Machinations". There isn't much to this first prototype, only basic character and camera movement. my main goal for this first prototype is to see if I could incorporate 2D sprites into a 3D environment Octopath Traveller style and have them face the proper direction, even with the player being able to move the camera.


I did this in a way that probably wasn't the best way to go about it. At least it works.

I hope you like if statements within if statements
Doing it this way did also helped me figure out movement for the player character in the build (which will get a new set of sprites at some point rather than just using the npcs). I also made it that you can only move the camera in 45 degree increments, but upon thinking about it a bit more, I'm going to keep it like that as my brain is cooking up some clever ways to make full use of that limitation, though I am aware that not having full 360 movement of both player and camera maybe a hassle to develop around but I don't think I'll have too many issues with it.

 

This is how I have the animator set up
Now to explain this mess of an animator! I have set it up so that there is a state for each of the directions it is facing branching from the any state. this is because I have the parameters called FrontVal and SideVal hooked up to the if statements from the earlier screenshot.

It then checks where it's facing and then what direction the camera is facing and then checks where the camera is pointing and assigns the values of the finalX and finalZ variables from there with the movement script feeding into the axisX and axisZ variables.


If you are still with me than you have made it to the end of my first badly written and worded devlog for Resurgent Machinations! I apologize if it was a bit long winded, I feel like I should be explaining it in more depth than "basic character and camera movement and sprites face the correct direction" for my first devlog, though feel free to leave a comment if you liked me explaining the ins and outs of how I stopped it from exploding every time you pressed the left button. Anyway this is it for this one I hope you enjoyed it, because at the end of the day, that's why we make and play video game. Thanks again for taking the time to read this devlog.

CyberPhoenix

Files

Resurgent Machinations v0.0.1.exe 638 kB
Feb 21, 2023

Get Resurgent Machinations

Leave a comment

Log in with itch.io to leave a comment.