Finding my feet with godot


This version of the game I was mostly focussed on fixing the one major bug that I knew about in the game (or two) that being that when you get up high in levels that the heroes that spawn in the left most room wouldget stuck on each other - this was an absolute headscratcher. I was looking at videos and reading documentation for almost a week around navigation regions and navigarion obstacles - and whilst these things helped I think the one thing that I learned more than anything is that either

- Godots pathing is absolutely atrotious 

- I am missing something massive 


There are so few resources out there when it comes to obstacles in Godot that i's really hard to know if I am the only one who ahs experiences this, all of the other content that I was watching and reading had obstacles as part of their sprite sheets - which is fine but I wanted to have each character as it's own obstacle.


This led to some weird behaviour where the character was just floating to the top of the screen - I figured out that it was in fact trying to "avoid" itself so I wrote a script that disables the avoidance if the character was the chosen hero to go through the dungeon. But then the character was just walking into the obstacles, I feel like I tried everything making the radius bigger making everything in one scene and trying to replicate the issue. I started a whole different project where I just had one box try to avoid the other box but nope it was still just walking into the other box. I literally gave up at this point I had read the documentation at least 10 times and asked in the official discord to no avail.


I did eventually get it to walk around the obstacle (by removing the navigation from the sprite sheet and adding a navigation region - and trust me when I say that adding a nvaigation layer to your tileset is a huge mistake, don't do it) but it was very clunky. I decided after five days of staring at the issue I literally gave up and thought I'd come at the problem in a different direction, I moved the chracters to a different collision layer (there are a few reason why these things _need_ to collide with things in the world) but I feel absolutely defeated by this - so much in fact that I don't know if I want to continue with this game idea. I had a bunch of ideas around maybe having cards where the user could decide which types of rooms or have it so that you "build" the room and then add enemies that can chase the player - there were a few ideas floating around. but yeah...... I loved the time I spent with Godot but my god this was a massive downer.


The game is fixed from what I submitted to the jam but we'll see if I return to this idea later

Files

Heroes Play in browser
81 days ago

Leave a comment

Log in with itch.io to leave a comment.