This is really old code I had lying around when I began writing a game in B4A 1.50.
What it does is, allows you to draw a smooth path, and then the man(okay w/e) to follow it.
It is buggy as hell but quite entertaining.
Problem is that between the 2 dots you're guessing the right path, it can be off a lot since those bends are never correct unless you go bezier and log an inbetween position aswell.
Problem is that between the 2 dots you're guessing the right path, it can be off a lot since those bends are never correct unless you go bezier and log an inbetween position aswell.
Thats by design. The lesser points you log, the more smoother the result is. Either way, it is possible to tweak the distance/radius at which the next point will be logged.
I took inspiration from those flight/airport games.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.