...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 :
create bitmap 1,16,16
set current bitmap 1
cls rgb(255,0,0)
get image 1,0,0,15,15
set current bitmap 0
x=spritemovement(2,1,50,0,0,300,300)
x=spritemovement(1,1,50,0,0,"333333333355555555557777777777111111111100000000000000000004444444444444444444445634535364786865546336300045645635635",0,1)
do
if spacekey() then stopMovement 1
text 0,0,str$(hasfinished(1))+" "+str$(isInUse(1))
sync
loop
dot 0,0 : ` Basic2D
load object "",1 : ` Basic3D
load bitmap "",1 : ` Bitmap
autocam off : ` Camera
cls : ` Core
ftp connect "","","" : ` FTP
close file 1 : ` File
load image "",1 : ` Image
hide mouse : ` Input
delete terrain 1 : ` LODTerrain
delete light 1 : ` Light
delete matrix 1 : ` Matrix
delete memblock 1 : ` Memblock
free net game : ` Multiplayer
delete music 1 : ` Music
delete particles 1 : ` Particle
show window : ` Setup
delete sound 1 : ` Sound
sprite 1,0,0,1 : ` Sprite
disable systemkeys : ` System
text 0,0,"" : ` Text
And no guesses to what I used to do this with.
The place for all
great plug-ins