Point To Point

Blitz3D Forums/Blitz3D Tutorials/Point To Point

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


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!