frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Can you make an enemy move in a pattern

I'm trying to recreate packman but I can't get the ghosts to move in a pattern

Comments

  • edited May 2018
    You can make them move in a pattern, for example, you can make invisible blocks in any intersections of the maze, and if a ghost collisions it, it randoms 90, 0, or -90 rotation from a random min 0 max 2 filtered 0, 1, 2. That will make it randomly go straight or turn.

    Advanced set paths are too difficult to explain, but in reality, you can have the ghosts just follow you.
  • Thanks
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch