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

Username:   Password: 
 RegisterRegister   
 im confused on something on turing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Womble




PostPosted: Wed Nov 29, 2017 4:48 pm   Post subject: im confused on something on turing

ive been trying to make a program for an assignment in my class that is basically a person walking across a 10 meter bridge If he does take a step the step is 1 metre long and ive been trying to figure out on how to do that if anyone could post something to help me do this that would be great Very Happy.
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Nov 29, 2017 8:47 pm   Post subject: RE:im confused on something on turing

You're gonna have to describe it better, I have no idea what you're asking.
TokenHerbz




PostPosted: Mon Dec 04, 2017 2:54 am   Post subject: RE:im confused on something on turing

start with drawing a dot or box...

change some of those x and y values and it moves the box...

so if you want to "move" your box, just add that "10 meter step" to the X,Y direction your wanting to move him.

code:


setscreen("graphics")
var m: int := 0
loop
    drawbox(100,m,110,m+10,black)
    m += 10
    delay(200)
    cls
end loop

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  [ 3 Posts ]
Jump to:   


Style:  
Search: