#Project R - Started Working Recently

1 messages · Page 1 of 1 (latest)

burnt bridge
#

First DevLog! Enemies Ai, Scene changes and Cameras!
This Project is an inspiration of RPG Games, like Paper Mario, Mario & Luigi Games, and Legend of Zelda. This game is a 2.5 theme turn based RPG!
Also I have experience in Unity using making miniature projects for myself but I'd like to release this one for others to play! (Although no Testing yet)

--- Cameras ---
I made the Cameras have areas where Cinemachine changes to that perspective I placed, even though it sounds easy for me (Something I haven't done before) it was a bit tricky but I got it right 👍 . I have ideas for the cameras where it can reveal certain locations or secrets. To play with perspective (Like Super Mario 3D World and Land).
Video of this should be attached

--- Scene Changing (Also in Video) ---
So this was defiantly the hardest one, I rarely touched scene changing and when I did it's usually very basic, but this I had to code GameManager and the Player on DontDestroyOnLoad(). Then I had to tell the game what cameras follow the player on both scenes. It works great though and I'm happy how it turned out.

**--- Enemies --- **
Now THIS is where I want to explore deeper into the mechanics of my game, you see I have two types of enemies at the moment
- Wandering: How he works is he usually wander around the area, in a radius of 5 he will choose a random location -> Walk to the position -> stand there for how many long I make him -> then restart the process 🔁. When the player get's into his detection area he runs towards the player at all times -> when the player escapes his view (sphere) he stops -> then remembers where he last spots you -> Goes to last spot and wanders around that for a few moments before going back to randomly walking around.
- Patrol: I put multiple points on where I exactly want him to go and he goes there, simple, then once he sees player he chases towards player -> then he goes to last seen player and stands there -> Goes back to patrol.