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

#1 2012-11-17 16:29:40

Bailz_Gamer
Scratcher
Registered: 2010-12-04
Posts: 100+

Pacman Ghost AI

I need help with my pacman-type game and I made a script so that the senser sees which direction is closer to the target and keep going in that direction until it hits a wall or sees an opening, but instead, this happens
Link 1
Link 2
Can anyone help please

And if you want to help even more with this game enter this contest

If anyone can help, thanks in advance  big_smile


▂▃▅▆▇█ B █ a █ i █ l █ z ██ G █ a █ m █ e █ r █▇▆▅▃▂
The Super Gaming Guy

Offline

 

#2 2012-11-28 14:58:50

Bailz_Gamer
Scratcher
Registered: 2010-12-04
Posts: 100+

Re: Pacman Ghost AI

bump

please help


▂▃▅▆▇█ B █ a █ i █ l █ z ██ G █ a █ m █ e █ r █▇▆▅▃▂
The Super Gaming Guy

Offline

 

#3 2012-12-23 21:31:22

Bailz_Gamer
Scratcher
Registered: 2010-12-04
Posts: 100+

Re: Pacman Ghost AI

bump???? please??? anyone????


▂▃▅▆▇█ B █ a █ i █ l █ z ██ G █ a █ m █ e █ r █▇▆▅▃▂
The Super Gaming Guy

Offline

 

#4 2012-12-23 21:56:38

Secretmapper
New Scratcher
Registered: 2012-12-10
Posts: 27

Re: Pacman Ghost AI

I'm not on my desktop right now so I can't help you per se, but the effect you want to achieve is called "pathfinding". I suggest either looking at some tutorials on how to acievit or get more experience with programming before tackling that sort of thing; pathfinding can be very complex depending on the situation. However, don't make me get you down on it, it is achievable if you are willing to take your time!  smile

Offline

 

Board footer