Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Need help moving imported pics
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
maybe




PostPosted: Sun Jan 18, 2004 1:20 pm   Post subject: Need help moving imported pics

how do i move imported pics??
can some one offer a code moving it by buttons or keys
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sun Jan 18, 2004 2:23 pm   Post subject: (No subject)

dont make double posts Rolling Eyes

you move imported pictures same way you move any other graphic... just draw it in a different place.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
maybe




PostPosted: Sun Jan 18, 2004 2:32 pm   Post subject: (No subject)

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




PostPosted: Sun Jan 18, 2004 2:38 pm   Post subject: (No subject)

code:

procedure moveRight()
x:= x+5
end moveRight


procedure changes X variable to 5 pixels to the right Confused 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: