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
- Upgrades UI and new VFXs! (Devlog #47)13 days ago
- Final Visual Style and Portuguese Translation! (Devlog #46)36 days ago
- Steam Achievements Are In! (Devlog #45)70 days ago
- Ending Cutscene and Decorating Levels! (Devlog#44)98 days ago
- Golden Path Playable and Multiple Save Files (Devlog#43)Jul 07, 2024
- It's Never Too Late to Change Major Systems! (Except Sometimes) Devlog#42Jun 16, 2024
- Yurei DEMO Out!Jun 01, 2024
- Insanely Small But Awesome New Visuals + Playtesting in the House (Devlog #41)May 05, 2024
- Stage Designer Tool and Castle Stages Improved (Devlog #40)Apr 07, 2024
- Overhauled Forest Area and Refining Boss Behavior (Devlog #39)Mar 03, 2024
Leave a comment
Log in with itch.io to leave a comment.