-
Senior Member
PacMan experiment
http://mad-sci.lazoom.com/tutorials/pac.swf
the cool thing is that there are 250 movie clips as tiles on the stage and as you see no delay. the movie runs at 40fps. The AI is still buggy but you can move arround, eat pills...
ms
-
thats a pretty cool game, but i let the guy eat me and he just kept walking over me but i didnt die. i guess youre not finished yet.
how do you make AI? is there a good tutorial on it?
still thinking of a footer
-
Senior Member
AI ? simple you have to think like a ghoust
if ( currant_dir=="left"){
if (pac man is above me and I can move up ){moveUp;dir="up";}else
if (pacman is below me and I can move down ){moveDown;dir="down";}else
if (I can still move left ){moveleft;dir="left";}else
if (I can move up ){moveup;dir="up";}else
if (I can move down ){moveDwown;dir="down";}
}else
if ( currant_dir=="right"){etc..etc..}
just describe the desion making,
ms
-
Who needs pants?
Nice game. Found a few bugs though. After a while pacman can walk half way through walls and the ghost can walk outside the map other then that nice game.
-
Senior Member
How did you manage to get it running so quickly?
The future belongs to those who prepare for it today.
-
Who needs pants?
Btw does your game only consist of one tile? Just a blue one? Or is it totally tile based ?
-
-
Illuminatus!
haha, great stuff there mad. i loved outsmarting your ghost and running away from it. this is the best pacman ghost ive seen so far in flash.
-
leight.com.au
he he thats heaps kool!!! yeh i noticed a bug too... u try and go through the left gap and come out the other side but it kinda doesnt work:S it just stays there and flashes:s neway kool game!!!
cya...
-
Senior Member
Originally posted by hooligan2001
Btw does your game only consist of one tile? Just a blue one? Or is it totally tile based ?
Totaly not realy the maze is one movie clip + 240 pill MC, 1 pac , 2 ghosts. The collisions are run with the MassCollision detection script I posted a long time ago..I think was in the maths and phys forum..
http://www.flashkit.com/board/showth...hreadid=280716
ms
Last edited by Mad-Sci; 04-09-2003 at 08:54 AM.
-
nice game . yeah, Pac-man used to be called Puck-man, wanna guess why they changed it?
-
Senior Member
well it was very easy to grafetti the arcade machines to make it say '****-man'
-
yup!
-
nice mad-sci, very nice, i remember some of your original pac-man experiments, this one is super clean, keep it up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|