Discuss Scratch

gumball97
Scratcher
8 posts

pac man!

hi guys! I am making a pac man game and i do not know how to get a ghost to follow pac man? I found this script on the internet but it just makes it glitch here is the link to the website: http://scratched.gse.harvard.edu/sites/default/files/PacMan%20Lesson.pdf





thanks for your help guys!






LocoTest
Scratcher
57 posts

pac man!

Depends on how authentic you want to make it. There are 4 ghosts and the difference in their chase routines are what gives them their personalities. The arcade game did this by having each ghost chase an invisible target that was offset somewhere around pacman. Since the targets were offset different amounts for each ghost, they all reacted slightly differently while chasing Pacman.
Here is a webpage that has a ton of great information…
http://home.comcast.net/~jpittman2/pacman/pacmandossier.html
gumball97
Scratcher
8 posts

pac man!

cheers!! I am logging off now but i will look at the website




cheers!

Powered by DjangoBB