Actually, I know how to make a sprite follow a line- my problem is that if both the up and down sensor are activated at the same time, the sprite will get stuck. How can I fix this?
Offline
Well, I'd have to see the project to help, but you could just put a giant if around all your smaller ifs that say if not both touching and have the move block outside it.
Offline
AtomicBawm3 wrote:
Well, I'd have to see the project to help, but you could just put a giant if around all your smaller ifs that say if not both touching and have the move block outside it.
http://scratch.mit.edu/projects/Sunrise-Moon/1278023
Download and put sprite 2 on the big black line.
Offline
I did this with as few alterations to your original method as I could manage...
path AI for Sunrise-Moon
Last edited by Locomule (2010-09-03 01:41:20)
Offline
Locomule wrote:
I did this with as few alterations to your original method as I could manage...
path AI for Sunrise-Moon
Thank you!
Offline
No problem, glad to help. This was fun to work on and like I said, you did most of the work. Besides, this is yet another game routine I've been planning to do forever and just hadn't gotten around to yet. Peace!
Offline
Locomule wrote:
No problem, glad to help. This was fun to work on and like I said, you did most of the work. Besides, this is yet another game routine I've been planning to do forever and just hadn't gotten around to yet. Peace!
Someone already made a game from what you taught
http://scratch.mit.edu/projects/RocksAndFire/1279822
Offline