im confused on something on turing
Author |
Message |
Womble
|
Posted: 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 . |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
TokenHerbz
![](http://compsci.ca/v3/uploads/user_avatars/717170395558e628d9452b.jpg)
|
Posted: 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
|
|
|
|
|
|
![](images/spacer.gif) |
|
|