View Single Post
  #35 (permalink)  
Old 07-04-2009, 05:27 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by enonod View Post
if a sprite had a destination property (dX,dY) such that the sprite would automatically travel toward it and upon arrival trigger an event?
This version includes such an event. However I haven't implemented the "automatically travel toward" bit, you will have to calculate and define its direction yourself.

Version 1.27 changes are as follows.

GameWindow has a new CollisionDestination event.

Sprite has new IsAnimated, DestinationX, DestinationY and HasDestination properties.

There is a help file describing the changes in the archive.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 07-04-2009 at 06:28 PM.
Reply With Quote