Share My Creation Path Follower

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.
 

Attachments

  • l4t.png
    l4t.png
    44.6 KB · Views: 4,224
  • L4T.zip
    18.7 KB · Views: 708

sorex

Expert
Licensed User
Longtime User
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.
 

thedesolatesoul

Expert
Licensed User
Longtime User
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.
 
Top