mouse follower
Author |
Message |
Homer_simpson
|
Posted: Tue May 06, 2003 4:02 pm Post subject: mouse follower |
|
|
k i'm trying to make a program that makes one point follow another point with random coordinates(for example a small circle follow mouse)
in the attachment i got a circle follow the mouse but it's not very...smooth.
to make it smooth i think that i should use the slope of the line with coordinates (mousex,mousey,objx,objy) which will be
slope:=(mousey-objy)/(mousex-objx)
but i dunno how to use it in turing =/
Description: |
|
Download |
Filename: |
follower.t |
Filesize: |
747 Bytes |
Downloaded: |
479 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Homer_simpson
|
Posted: Tue May 06, 2003 4:42 pm Post subject: (No subject) |
|
|
nvm just solved it
Description: |
|
Download |
Filename: |
follower.t |
Filesize: |
669 Bytes |
Downloaded: |
519 Time(s) |
|
|
|
|
|
|
Dan
|
Posted: Tue May 06, 2003 5:07 pm Post subject: (No subject) |
|
|
man homer you shure do awser your own posts alot, lol.
but it is good to have problems and slotions posted so in the end it is a good thing .
|
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
Homer_simpson
|
Posted: Wed May 07, 2003 7:32 am Post subject: (No subject) |
|
|
that's not how it is man...
i have a problem i work on it for like 30 to 60 mins...then i cant solve and go watch tv... suddenly when i'm watching the simpsons something comes to my mind i come back and try it and works =Þ
|
|
|
|
|
|
Prince
|
Posted: Wed May 07, 2003 9:42 am Post subject: (No subject) |
|
|
lol, i should try that
|
|
|
|
|
|
|
|