Monday, September 29, 2014

Implementing fish jump physics into the code!

After calculating the equations for the fish to jump at the correct X position it was time to implement it into the code. Now there still might be a lot of errors and bugs that needs to be taken care of. And the fish physics are acting weird after the game restarts. There is a lot of debugging that has to be done, and I already put several hours into it without finding the solution, or even the problem for that matter.

Anyway this is how the implementation of the algoritms looks,