Making a object follow a track
Friman
Member Posts: 55
I have an object that I want to follow a track (as description says) so can anyone suggest where I should start?
See the link to see what I mean, the object that I want to follow a track is the hollow circle.
Thanks for taking your time with this, I'm new to Game Salad so I'm still learning.
-Cheers!
link:
https://www.dropbox.com/s/cr9r0pleg360zxb/ob_tracking.png
See the link to see what I mean, the object that I want to follow a track is the hollow circle.
Thanks for taking your time with this, I'm new to Game Salad so I'm still learning.
-Cheers!
link:
https://www.dropbox.com/s/cr9r0pleg360zxb/ob_tracking.png
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
It's hard to know quite what you want, do you want the circle to simply follow that particular curve, or maybe have an object follow any path ? Does the user control the circle, perhaps that can drag it and position it on the circle? Does the circle simply bounce from one side to the other in a loop ? Or maybe it just goes left to right once and then disappears ? . . . . . etc etc.
Like @tatiang says, a little bit of trigonometry will get something to follow the kind of curve in your example (see file attached) if that's what you are after . . . ?
What you showed me in the zip file is exactly what I want but I want it to be controlled by either the mouse or arrow buttons.
I will look around into the changes you made but please let me know how to control it
Thank you
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS