NEED HELP WITH SIMPLE GAME FUNCTION!!!

so im trying to make a game (obviously) and the way i want my actor to move is kind of on an invisible path. i used pacman as an example to try to get what im looking for. if you play the old pacman games, pacman moves in all directions in a straight line on a linear path. when i recreated the game the pills are not in a straight line nor is the path he takes. he's pretty much a flying bubble through the hallways. is there anyway to create some invisible line for my actor to stay on or anyway to get the results im looking for? everything else in the game worked perfectly.

Answers

  • ElfizmElfizm Member Posts: 489
    Hello

    First of please don't use caplocks in titles.

    Secondly as to your issue. If you want it continue in a straight line just use move at a direction.

    Or are you wanting it so when you press for example the up key the actor moves up and continues till it hits a wall?
  • whompywhompy Member Posts: 27
    RULE: when actor receives event: key: (left arrow key) is down
    MOVE: direction: 180 relative to: actor move type: additive
    pick your speed

    Then make 3 other rules for moving right, up, and down. This will keep your actor moving straight, in an "invisible line", but only in one direction. If you want him to weave all around like a flying bubble, I'm not sure how to do that.
  • beedog1221beedog1221 Member Posts: 2
    I want it to move until it hits the wall but in a straight line
Sign In or Register to comment.