This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-15 20:16:23

fillergames
Scratcher
Registered: 2012-10-15
Posts: 1000+

Help with pathfinding script

In my rainbow chicken game. i have a baby chicken that flys around and hits rocks, but in my game the pathfinding is bad it flys to rocks that are hidden and it get stuck at the top of the screen, can anyone download to fix it.  also commet to tell me for any other scripting flaws.


http://i50.tinypic.com/2ufvxc5_th.gif Grammer? Whats grammar?

Offline

 

#2 2012-10-15 21:49:40

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: Help with pathfinding script

Here is a thread describing a really good pathfinding algorithm: http://scratch.mit.edu/forums/viewtopic.php?id=35318

Hope this helps.

My Tower Defense game (link in sig) uses that technique for the creeps.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer