Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 18 in printed book and digital formats -- plus a one-year subscription (beginning with 19.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Recent issues

Article Preview


Buy Now

Issue 3.1

COLUMN

Path Animation

Tell your Object3Ds where to go!

Issue: 3.1 (September/October 2004)
Author: Joe Nastasi
Author Bio: Joe Nastasi is the president of Pyramid Design, a software development firm and the developers of A-OK! The Wings of Mercury and FTP Suite.
Article Description: No description available.
Article Length (in bytes): 10,848
Starting Page Number: 38
Article Number: 3118
Resource File(s):

Download Icon 3118.zip Updated: 2013-03-11 19:07:58

Related Link(s): None

Excerpt of article text...

This issue, we take a detailed look at the code used for our Path Animation library.

Waypoint Class

The code in the Waypoint class is, for the most part, getter and setter methods to access the various parameters. The possible exception is the handling of the waypoint's finite states. There are four: wpStart, wpTurn, wpMove, and wpDone. Internally, the states are represented by integer values: 0, 1, 2, and 3, respectively. This allows the NextState method to change states simply by incrementing the waypoint's State property.

Sub NextState()

...End of Excerpt. Please purchase the magazine to read the full article.