Simulating an ENTIRE Ecosystem... | Devlog 4

62,833
0
Published 2024-06-16
Hey again, I've returned with another devlog after 4 months! In that time I've been working on a custom pathfinding algorithm, complex behaviour trees, and my own task system for the entities in my game. Today I'll be showcasing the new behaviours as well as the very basic combat system and a few other general improvements I made. Enjoy! 😄

🛠️ Optimization Changelog:
• Moved all sprites to sprite atlases
• Added custom outlines to mostly transparent sprites
• Fixed lighting to only recalculate dynamic lights
• Changed some systems to update on a timer rather than every frame
• Fixed some issues with sprites not batching correctly
• Cached numerous expensive values that were being recalculated


💬 Join my discord server here!
discord.com/invite/NxDSW65sUY

🙋‍♂️ Support the channel by subscribing!
   / @sigmoiddev  

🎬 Check out the rest of the devlogs!
   • Indie Game Devlogs  


📖 Chapters:
0:00 - Intro
0:38 - Physics-Based Pathfinding
1:42 - Drawing Animals
2:10 - Designing AI for Games
3:03 - Behaviour Trees & Tasks
4:21 - Debugging & Thought Bubbles
4:59 - Bug Fixing & Optimization
5:42 - Combat
6:21 - Health Bars & Effects
7:25 - Future Plans & Announcement
8:00 - Outro


🎶 Music:
massobeats - breeze |    • massobeats - breeze (royalty free lof...  
massobeats - swing |    • massobeats - swing (royalty free funk...  
massobeats - lucid |    • massobeats - lucid (royalty free lofi...  
massobeats - hillside |    • massobeats - hillside (royalty free l...  


🔗 Credits:
All Icons by Freepik on FlatIcon www.flaticon.com/
All Gifs from Tenor www.tenor.com/
Stock Images from:
- Pexels www.pexels.com/
- Vecteezy www.vecteezy.com/free-photos/


📱Software:
Recording: OBS Studio 🎥
Editing: CapCut 🎬
Engine: Unity 🕹️
IDE: Visual Studio Code 💻
Theme: Rainglow - Rainbow 🌈
Pixel Art: Aseprite 🖼️
Planni

All Comments (21)
  • @user-vi5hh9ei3j
    I still can't believe how high quality your videos, like... You have edited around 5 vids and it's better edited than pepole with YEARS of experice
  • @GoldenEdits656
    Im loving the game so far! Im getting more excited and impressed by each devlog (Seriously dude your videos are very high quality and very well made)
  • @vonbaldric9767
    Just FYI you do not need a statically computed grid for A*. It's sufficient to have a function that takes a position and returns the list of adjacent positions. So you don't have to page anything in or out as you move around. The main things to worry about with a homegrown pathfinder are escaping a deep bucket-like shape where the unit has to move away from the target to make progress, avoiding runtime explosion due to retracing in mazes, and identifying that a location is unreachable without searching the entire world.
  • @kayn2375
    This is gonna be the best game every
  • Yo this is insane! It's so cool seeing you designing these animals, and then making them come to life
  • @pinsect
    this looks really cool, I love the action tree stuff. Looking forward to seeing how you integrate that into the gameplay
  • @blackstone12
    He is back ❤I love your edeting style and how you explain your created game to us. Keep it up!
  • @Aznay_
    Just found out your channel and I m quite amazed by the quality of it all ! Cheers!
  • @AnimatingBeats
    This is so cool! I just finished binge watching all of the dev logs and I’m really excited for future updates. Also on an unrelated note, I finished my first game jam! Even though I was bad at it, I learned quite a lot. Like the fact I don’t know how to use if statements lol
  • @999Remi
    Nah this is actually crazy you’re gonna go viral soon for sure
  • @SamingoTV
    Every single feature I would add if I made a Unity game, you always add! I love how this game is turning out! It would be fun to see some sort of gameplay video or playable demo, when the game is in a playable state. (Or now, if it already is!)
  • @DiogoGaming2
    Game is looking very cool to be honest, i think this could actually be a big one
  • @hamzahgamedev
    I have been learning quite a lot from ur videos lately, from game dev to video editing, ur videos are helping me in everything i need for my own devlog videos. Awesome content!! 🙏
  • @ninja_tony
    Wow. Dude, that thought bubble idea is genius honestly, it’s like having a live in-game error log.
  • Cool video! I've been working on a similar project, although now it's on the back burner to a different project. Something I found that helped me with optimization: The logic of the creatures can be completely separated from the game objects. So technically, enemies are just classes with some values, and you can still simulate logic, hunger, interactions, etc without a game object. Now game objects are only used for the creatures within visual sight of the player. You could use object pooling to avoid instantiating lots of game objects all the time.
  • @Treyson31
    You‘re insane dude, keep it up 💪🏻
  • @GlitchedDev
    Hey youre content is really fun and I was here with the first devlog so now Im on a quest to make your channel popular af so lets go