Bug Squashed!!


So I figured out that there was a bug that allowed phasing through some walls. I tried many different fixes until I settled on trying to redo the movement in a different style for more accurate collision detections. Just as I opened the movement script for the player I saw that when the player was in the vacinity of a hole the script set the movement for all directions to be possible, so I added a couple of if statements checking which direction the hole was and only set that direction possible instead of all of them. 

I am a bit frustrated because this took me a full 4 hours to figure out when I only needed to add about 16 lines of simple code, but instead I went about creating 4 new scripts, 1 for each direction, and then discarding them and fiddled with the original script and then nearly gave up and made an entirely new movement script. 

So, note to self, make sure everything works the first time and if it doesn't, do NOT move on to other aspects of the game until it is fixed!!

Files

Soul Hopper v0.2.zip 23 MB
Mar 06, 2022

Get Soul Hopper

Leave a comment

Log in with itch.io to leave a comment.