Devlog #12 - v0.7 - Pathfinding
Pathfinding
The first major update of this version is the addition of a pathfinding system. The AI I had was simple. Enemies would move x,y in your direction. I thought it was going to be a headache of a change. Gladly my movement code was quite good. I'm reusing the same behavior for the player and enemies. Now, enemies will pick a path and go in the direction of the next waypoint until they are in range to attack.
Audio
I upgrade my Audio Data class. I can play each entry in the AudioClip array without having to go to the AudioClip itself. Definitely sped up some time.
Camera
My camera system also got an upgrade. I added a shake method that allows me to do screen shakes. Also, I added a SnapTo so I can move the camera to the position without any lerp. Useful for restarting or when going between levels.
Input
I wasn't happy with the slight delay it had when turning and attacking. I refactored the input handling and was able to fix the delay. The attack collision also felt odd at times. I was able to improve that by changing the collider size and position when changing
Next
For the next week I want to improve the enemy AI and the FSM I'm using.
Files
Get Yurei
Yurei
Yurei is a top-down, arena-style slasher game. Slash, dodge, and eliminate those that stand on your path for revenge.
Status | In development |
Author | Bright Flask |
Genre | Action |
Tags | Arcade, Difficult, Fast-Paced, Hack and Slash, Swords, Top-Down |
Languages | English, Japanese, Portuguese (Brazil) |
More posts
- Stage Designer Tool and Castle Stages Improved (Devlog #40)15 days ago
- Overhauled Forest Area and Refining Boss Behavior (Devlog #39)50 days ago
- I wish I organized myself like this before...! (Devlog #38)71 days ago
- Devlog#37 - Reminiscing 202393 days ago
- Devlog #36 - Steam Wishlist Trailer, All bugs squashed, Database Reworked!Dec 04, 2023
- Devlog #35 - Steam Page Launches!Nov 05, 2023
- Devlog #34 - All Cave Stages Balanced, New Popups, and New Player Facing Indicat...Oct 06, 2023
- Devlog #33 Constraining the camera, Milestone approach, and Textmesh Pro! Plus...Sep 03, 2023
- Devlog #32 - Cutscenes and All Audio Hooked Up!Jul 08, 2023
- Devlog #31 - Localizing Strings and Improving StagesJun 04, 2023
Leave a comment
Log in with itch.io to leave a comment.