The Daily Click ::. Forums ::. Non-Klik Coding Help ::. I need help. A lot.
 

Post Reply  Post Oekaki 
 

Posted By Message

Phantasia



Registered
  08/01/2006
Points
  36
8th April, 2006 at 20:17:32 -

I've been working on a sort of a pac-man game (the sprites are currently all original) called Stoner-man, where he's trying to steal the weed plants and escape the cops.

Things i need - I need an A.I. program for the ghosts and some cop sprites.
I have pretty much everything else - music, pac sprites, working on mazes, etc.

The A.I. program i know is hard to do (unless you're experienced in this sort of thing) and i know i'm asking for a lot, but can ANYONE help me with this?

I know it's a fan-game. Don't rub it in!
Thanks.

 
ph33r t3h s1gg3!!!
*I guess hell froze over...*

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
8th April, 2006 at 20:50:51 -

lol, pac-man

Image Edited by the Author.

 
My signature is never too big!!!

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
8th April, 2006 at 22:32:32 -

According to 'Icons', Pac-Man almost became Puk-Man... but reason for the change to Pac-Man is rather obvious.

 
http://www.facebook.com/truediamondgame

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
9th April, 2006 at 02:28:28 -

Puk comes from the japanese slang word Puku meaning eat Pukman was changed for the american market because there is always something changed to suit Americans.

About the ai, i would have done something like testing where the pacman is releated to the ghost when it his a wall, if pacman is further left, go left, if he is above, go up. you know that sort of thing.

 
.

Noyb



Registered
  31/05/2004
Points
  1117

VIP Member
9th April, 2006 at 06:02:27 -

http://graphics.stanford.edu/courses/cs248-videogame-competition/cs248-99/pac2k/README.html
This website describes the original AI for pacman. Apparently, one always chases you, one moves fast but random, one moves slow but random, and one only chases you if you go near it frequently. That's a bit more balanced than four ghosts who constantly chase you.

 
"Omg. Where did they get the idea to not use army guys? Are they taking drugs?" --Tim Schafer on originality in videogames

Mr. Esch

Stone Goose

Registered
  30/05/2003
Points
  0
9th April, 2006 at 12:38:32 -

If I was making a pacman game it would surely be a tilebased movement. Using this I would create 4 detectors at each junction in the road, this will tell the ghosts which possible directions it could go in. The comparison would be made every time it moves 16 or 32 pixels. Using the same sprite for the ghost I would set the alterable value A to speed of the ghost (would need to be divisible by 16 or 32 depending on the tile based movement)and value B to the maximum distance apart. Then when the ghost has finished moving its 16 or 32 pixels along it will test its x distance with the pacdude (pos x ghost - posx pacdude). Then whichever one is smaller it will take that route if its less than the max distance apart. One problem you may find is dead-ends, this could be accomodated for but generally there aren't dead ends in pacman games. The speed of the ghost would be set by a speed detector at the beginning i.e. at the start of the level + ghost overlapping speed 4 then set alt value A to 4, similarly you could do this with the max distance counter.

 
Do you feel you are being... watched?

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
9th April, 2006 at 20:47:51 -

Image

 
Happily Using Mac Now

I Officially Leave-d !

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
10th April, 2006 at 04:34:14 -

Holy shit dude, you rock at the spritings.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
10th April, 2006 at 08:10:08 -

Pukman was renamed due to the fear it would be called fuckman here. Really.

 
Old member (~2004-2007).

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
10th April, 2006 at 12:34:12 -

That's what I was hinting at...

 
http://www.facebook.com/truediamondgame

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
10th April, 2006 at 13:02:27 -

lol, fuck-man

go make that game, phizzy!

 
My signature is never too big!!!

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
10th April, 2006 at 19:40:06 -

What interesting things you say, Joe.

"lol, pac-man"
"lol, fuck-man"



 
Old member (~2004-2007).

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
10th April, 2006 at 19:42:07 -

lol, black man

 
My signature is never too big!!!

Hayo

Stone Goose

Registered
  15/08/2002
Points
  6949

Game of the Week WinnerHas Donated, Thank You!VIP MemberGOTM 3RD PLACE! - APRIL 2009Weekly Picture Me This Round 27 Winner!Weekly Picture Me This Round 41 Winner!Weekly Picture Me This Round 45 Winner!
11th April, 2006 at 17:55:45 -

PakiMon

 
www.hayovanreek.nl

Nova Soft



Registered
  16/10/2005
Points
  427
17th April, 2006 at 01:09:08 -

"Pakimon, Gotta exile them all!"

 
By a route obscure and lonely,
Haunted by ill angels only,
Where an Eidolon, named night,
On a black throne reigns upright,
I have reached these lands but newly
From an ultimate dim Thule
From a wild clime that lieth, sublime,
Out of space
Out of time.

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
17th April, 2006 at 16:08:08 -

PokeMan

Poke the ghosts until they die...

 
Happily Using Mac Now

I Officially Leave-d !

Bibin

At least 9001

Registered
  01/07/2005
Points
  308

Silver Cup WinnerGOTW Winner!Has Donated, Thank You!VIP Member
18th April, 2006 at 01:44:56 -

PackyManny

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
18th April, 2006 at 14:47:02 -

I find this offensive. My mother is pakistani.

 
n/a

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
18th April, 2006 at 14:54:41 -

Thats my step mother...¬_¬ shh

 
n/a

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
18th April, 2006 at 17:04:10 -

lol

 
Happily Using Mac Now

I Officially Leave-d !

Deleted User
21st April, 2006 at 03:01:55 -

. <--- decimal man

 

defenestrator

Old

Registered
  12/07/2003
Points
  724
17th May, 2006 at 20:33:59 -

The concept of this game is flawed.
It should be about cops who smoke weed. Just big garbage bagfulls every afternoon while watching Cops and maybe Springer, and just laughing at everything, especially the commercials. Then you go around trying to help the cops smoke more weed. There will be like a weedometer, and if it gets too low, the cops become respectable human beings and you lose. So you have to ride the rainbow to get to Mushroom Land and defeat Dr. Buzzkill who has abducted all the magical drugs in the kingdom. Then George Bush and Osama Bin Laden do bong hits and friendship will be everywhere around the world forever.

 
n/a

Rio



Registered
  29/12/2002
Points
  490
6th June, 2006 at 23:58:57 -

I once made a movement engine that was a grid based four directional movement used for Final Fantasy III type rpgs and later adapted it to a pac-man like techno colored tripped out game where a circuit thing roamed around the innerds of a computer and collected rings and avouded certail enenies, obsticals and traps. but I'm not going to get into that. but it should'nt be that hard to do. I'd have to write an artical to explain it correctly and i probibly wont end up doing that. making this entire reply kind of pointless.

 
Still searching for the perfect game.

BeamSplashX

Eliminator

Registered
  17/06/2003
Points
  2330

VIP MemberHasslevania 2!The Outlaw
7th June, 2006 at 17:19:29 -

What if the cops aren't respectable human beings when they're drug-free? You have to keep the DARE officers away from them to make sure they never know the TRUTH.

 
Oh! My god.
   

Post Reply



 



Advertisement

Worth A Click