Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Program Announcements / Now Availiable : Interrupt driven sprite movement...

Author
Message
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Dec 2003 10:22
...is now availiable from the usual place.
You can move a sprite from one set of X & Y coordinates to another set, with each movement occuring at given number of milliseconds.
You can also get a sprite to follow a simple set of LOGO-type directional commands, where 1 is up, 2 is up & right etc. 0 is pause.

Example code :


And no guesses to what I used to do this with.


The place for all great plug-ins
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 23rd Dec 2003 10:59
could you tell me the parameters for the spritemovement() function? also a list of the commands added would be nice, and maybe a keywords file?
thanks


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Dec 2003 11:05 Edited at: 23rd Dec 2003 11:07
Okay... The SpriteMovement parameters are thus :

SpriteMovement(SprNumber,ImgNumber,Time [,XPos,YPos,EndXPos,EndYPos] | [,Command$,StartingIndex,Flags])

The other two requests will be done later.
Up to 65535 sprites can be interrupt driven. Try not to make more than a couple or so have the same time - it may make others miss their allocated update time.


The place for all great plug-ins
OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Dec 2003 16:51
This has been updated so that a sprite can be moved under interrupts according to the mouse position.


The place for all great plug-ins

Login to post a reply

Server time is: 2024-03-28 18:38:02
Your offset time is: 2024-03-28 18:38:02