|
-
Dec 18th, 2000, 09:46 PM
#1
Thread Starter
PowerPoster
Is there a way that I can make an image follow a line? I have a picture of car that I want to follow a specific line so that it stays on the track. If it is possible, I would like to be able to give the car certain points to travel to. The track is a rectangle, so I don't need more than 4 points, one for each corner. Any help will be greatly appreciated.
Thanks
Midgetsbro
-
Dec 18th, 2000, 11:33 PM
#2
transcendental analytic
I recall i made a demo some months ago that demonstrates a dynamic track with cars looping around it, it may be a bit more complicated than a rectangular one, but if youre interested i could give you the source.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 19th, 2000, 01:17 AM
#3
Thread Starter
PowerPoster
Sounds interesting. I think I would like to see that code. I figured out another way to make the car go around the track. I just used a timer in each corner, and when the car got a certain point on the track, it disabled that timer and started another one which made it go 90 degrees from the direction it was going. I would still like to see your code, if it is ok. If you want, you can email it to me: [email protected]
Thanks
-
Dec 19th, 2000, 01:29 AM
#4
Frenzied Member
Hey Keda I am interested too!
You have my email!
Sanity is a full time job
Puh das war harter Stoff!
-
Dec 19th, 2000, 08:11 AM
#5
transcendental analytic
Well, hotmail has been a bit crappy lately, especially when trying to send attachments so i'll put it up on my homepage
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 19th, 2000, 11:17 AM
#6
Thread Starter
PowerPoster
Now this isn't fair. I've vistited your site like a thousand times at school, and now today, I tried it and our stupid firewall blocked it. This really bites. Oh well, I'll wait until I get home.
-
Dec 19th, 2000, 03:47 PM
#7
Frenzied Member
Haha just the same here. They added a new firewall to the server of my school district! (I am pi$$ed)
Sanity is a full time job
Puh das war harter Stoff!
-
Dec 19th, 2000, 04:01 PM
#8
transcendental analytic
Sorry guys, i was busy doing something else, the demo is out there now
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|