I was looking at this post where R0J0hound posted a sample capx of predicting the player jump path. I've been using it as a basis for my game but noticed that while it's great for a general idea of where the player will go, it's not too accurate.
For example, the lines below in pink are from where the player actually jumped and the one in blue is predicted in code:
My modded sample capx
As you can see it is a bit off.
I've been trying to come up with a way of making this more accurate all week and have nothing but tired eyes. If I want an accurate path as possible for where the jump path will go, should I be looking at a completely different solution? Are there any tweaks I can make to the code by R0J0hound to make it more accurate?
Times like this I realize I'm a web developer, not a game developer