Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Movement AI
- DreadPencil5419
-
Scratcher
11 posts
Movement AI
Hi, I'm trying to get a sprite to go towards another sprite but the go-to spite block isn't very effective. Can yall please help?
- deweypointjr
-
Scratcher
100+ posts
Movement AI
Can you send a project link? It's hard to help if we can't see your code.
- supa-panda
-
Scratcher
100+ posts
Movement AI
Wait so you want to slowly move toward it?
when green flag clicked
set rotation style [don't rotate v]
repeat until <(distance to [sprite2 v]) < [10]>
point towards [sprite2 v]
move (2) steps
end
- WindowsAdmin
-
Scratcher
1000+ posts
Movement AI
Here is the link. I'm new to coding btw.
https://scratch.mit.edu/projects/882860167/

Smooth move, cant go to the left though
- Discussion Forums
- » Help with Scripts
-
» Movement AI



