
-----------------------------------
maybe
Sun Jan 18, 2004 1:20 pm

Need help moving imported pics
-----------------------------------
how do i move imported pics??
can some one offer a code moving it by buttons or keys

-----------------------------------
Tony
Sun Jan 18, 2004 2:23 pm


-----------------------------------
dont make double posts :roll:

you move imported pictures same way you move any other graphic... just draw it in a different place.

-----------------------------------
maybe
Sun Jan 18, 2004 2:32 pm


-----------------------------------
thats not the point, i need to now how to move it while its on the output screen using buttons

wat code or procedure do i put for the buttons to move the certain pic

-----------------------------------
Tony
Sun Jan 18, 2004 2:38 pm


-----------------------------------

procedure moveRight()
x:= x+5
end moveRight


procedure changes X variable to 5 pixels to the right :? If you're using GUI.

else you can just have Input.KeyDown and some if statements. There's a tutorail called [moving characters on screen] or something like that... go read it, its useful
