Indiedevcasts logo

Saya - Devlog #1: Genesis

This is the first devlog for Saya, a game where you play a samurai slashing bad guys.

May 2, 2024

By subscribing, you'll support the creation of articles, streams, and games. You'll also gain access to exclusive content and special thanks.


Hey everyone! This is Julian from Indiedevcast, and I'm excited to present the first devlog for my game, Saya. It's a 3D project I'm developing with Bevy! I'll be keeping you updated with new devlogs as I make significant progress, so you can follow along on my indie gamedev journey.

Don't forget to subscribe to my YouTube channel and hit the notification bell. That way, you'll be notified when I go live for gamedev sessions. I usually host 1 or 2 streams each week!

About the game

I began working on this project in October 2023, and it's likely the only game where I've been able to sustain a consistent development pace. After numerous attempts, I've finally discovered a game type that allows me to effectively engage with my community, providing regular updates while juggling a day job.

Saya is a game featuring voxel graphics where you play a samurai summoned to rid the worlds of darkness. As you defeat enemies, you gradually accumulate evil essence with the help of your saya, which you can then utilize to enhance your abilities.

Voxel Art

Samurai: Character Design

I'm particularly fond of the cubic aesthetic achievable with voxel art. My initial focus was on creating the character. Although it's not the final version yet, I believe I've captured the essence of the design. However, I anticipate encountering some challenges when importing the character into Blender for rigging and animation. Voxel art imposes limitations, especially when avoiding overlapping blocks. But I'm satisfied with the overall shape and style I've achieved.

Since this is my first character, I still have much to learn. The game will showcase several worlds, each with its unique set of enemies, which will undoubtedly be where the majority of the work lies, particularly in terms of animation and A.I efforts. Here are some enemies I have in mind:

  • Samurai frogs
  • Samurai skeletons
  • Samurai robots
  • Slimes (different types: lava, water, ...)
  • Giant snakes

In my opinion creating numerous distinct characters is a great approach to breathe life into Saya, offering unique mechanics and behaviors that enrich the overall experience. However, I'll have to be careful in adding the appropriate balance of NPCs and bosses to avoid spending an eternity on animating them. Any elements that can be reused from one character to another will save me valuable time.

Environment props

I began by designing the initial elements of the central / main world. Here, an old man smoking a pipe will give you the quest. Naturally, I needed a Torii gate to connect the worlds together, allowing you to embark on your journey of purification through various dungeons.

Next, I wanted to experiment with a dark ambiance and a low lighting setup. Lanterns are particularly effective for this type of scene, so I added some, along with an unfinished bridge.

Lanterns with the bridge and the Torii gate in a low lighting setup.

Development with Bevy

Animations

I devoted a significant amount of time to experimenting with animations for a 3D character in Bevy. I managed to create smooth transitions between the following animations:

  • Run
  • Withdraw
  • Attack
  • Sheathe
  • Idle

I've also produced a video on YouTube detailing the process of animating 3D characters with Bevy and delivered a talk at the third Bevy Meetup. If you're curious about the technical aspects behind these animations, these resources are for you! Additionally, I'm in the process of writing a blog post on this topic, which should be published soon!

Since rigging and animating a character can be time-consuming, and considering my need to improve in this area, I opted to use Mixamo to obtain a 3D model with pre-made animations. It's an excellent method for preparing the code logic for when my own characters are ready.

A gif of smooth transitions between character animations.

Input Manager

Early in the development process, I aimed to enable playtesting with various controllers, including mouse/keyboard, gamepad, and even the Steam Deck. Handling keyboard inputs alone can be challenging, considering the multitude of possible layouts (such as qwerty vs. azerty). Thanks to the Leafwing Input Manager, I was able to save a significant amount of time implementing such a system.

I also created a video demonstrating this feature, and at the 26:00 timestamp, you can see the demo on the Steam Deck.

Isometric camera and movements

The game will feature a fixed isometric view. I opted to omit camera controls for the player, as managing them during combat phases can be cumbersome. Additionally, I appreciate the aesthetic appeal of voxels in an isometric view; it offers depth, height, and perspective while maintaining simplicity in the scene. As a game developer, you can also choose to provide a different angle by rotating the camera during cinematics, for example.

I also focused on implementing smooth camera movements to enhance the player's experience. Finally, I had to adapt the input matrix so that player directions align with the isometric setup.

A gif of the isometric view and character movements.

Did you like this devlog?

Then join the community on Discord if you want to share your thoughts and discuss about the game!

See you next time for the second devlog!