Using the code on the right side of the picture, I have managed to solve the previous issue I was having, where the enemies would get out of sync during collisions. This took a lot of trial and error to get it to work smoothly without crashing the game in the process. I also have managed to add a rough collision system between all of the enemies, although it does need a little more work... but at least it is functional.
No comments:
Post a Comment