Computer Science Canada

moving imported images

Author:  Geoson [ Tue Jun 08, 2004 9:00 pm ]
Post subject:  moving imported images

my friends told me to use a loop, but how, i know how to move drawn pics in turing, but i don't know the codes for an imported pic, how do you move it? anyone post a complete page of codes for it, thx Very Happy

[mod:3ed11237c6]Please post in the right section next time, thank you[/mod:3ed11237c6]

Author:  aside [ Tue Jun 08, 2004 9:04 pm ]
Post subject: 

you are trying to do an animation of a moving picture?
code:

var pic:=Pic.FileNew ("whatever.bmp")
View.Set ("offscreenonly")
for i:1..20
cls
Pic.Draw (pic, 0+i, 0, picCopy)
View.Update
end for


or you can use sprite, which I don't have, so I can't tell you anything about it.


: