V Kyrie
April 21st, 2002, 10:00 AM
hiya........ i really need all d help i can get rite now coz i'm in d middle of my school projet....
here goes>>
i'm creating a game in Flash 5.... it involves a character (moved by player) avoiding an enemy in a maze like area...... (think Pacman)....
now, i've done my charater and maze..... but i've not started on d enemy....
i've read some tutes on random movement but it doesn't involve a maze like area....it juz cuts across d screen randomly...
u see, my maze is as follows >> 0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0
0 0 0 0 0 0 0 0
0 1 0 1 0 1 0 1
0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0
0 0 0 0 0 0 0 0 ( 8 x 8 )
now, i want my enemy to move only among d first 3 rows, stopping n lookin around in random spots to look around....
any ideas...??
btw, i'm kinda new n scrap at scriptin so i need all d guidance n help i an get, it'd be good if u cld explain it to me as well....
thankx....
here goes>>
i'm creating a game in Flash 5.... it involves a character (moved by player) avoiding an enemy in a maze like area...... (think Pacman)....
now, i've done my charater and maze..... but i've not started on d enemy....
i've read some tutes on random movement but it doesn't involve a maze like area....it juz cuts across d screen randomly...
u see, my maze is as follows >> 0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0
0 0 0 0 0 0 0 0
0 1 0 1 0 1 0 1
0 0 0 0 0 0 0 0
1 0 1 0 1 0 1 0
0 0 0 0 0 0 0 0 ( 8 x 8 )
now, i want my enemy to move only among d first 3 rows, stopping n lookin around in random spots to look around....
any ideas...??
btw, i'm kinda new n scrap at scriptin so i need all d guidance n help i an get, it'd be good if u cld explain it to me as well....
thankx....