Point To Point

Blitz3D Forums/Blitz3D Tutorials/Point To Point


Point To Point
Click here to download.

If you've ever wondered how to make 2D sprites move from one point to another in a straight line, like I did (for too long a time), then this fun, little demo will show you an effective way of achieving it. This is my first proper program made with Blitz3D and a first for making 2D sprites move in a direct line to and from specific coordinates. This code also answers my questions as to how characters in graphic adventures (such as my all-time favourite 'Monkey Island' game series) follow a predetermined path around the screen.

If the techniques I have implemented throughout the code seem unduly necessary then please let me know of a more efficient method! Most of it is just experimentation but, as you'll see, it works flawlessly. I'm very happy with the results. :)

Please feel free to send me any comments, bug reports or suggestions.

Enjoy!

thats quite cool

I totally love this - can't say I ever recall seeing it before.

This is actually something you need to know how to do in order to implement some enemy AI. Good work!

Thanks a bunch

Thanks alot!