Restrict movement to a path?

hypnotxhypnotx Member Posts: 4
edited November -1 in Working with GS (Mac)
Hello all.

First of all I am a GameSalad Scrub. I just downloaded yesterday and have spent the last day watching videos and reading tutorials. This thing is GREAT! I do have a couple of questions though:

Can I restrict the movement of an actor to a path?

I am trying to recreate an old arcade game that I used to love called Qix. I want to do something similar but with some modern twists. In a nutshell when you start there is a big square open playing field. The player/actor can move around the edge of the square and tries to "fill in" sections of the playing field. The objective is to fill in XX% of the field while avoiding enemy actors that bounce around in the center.

To my original question: I need to make it so that the actor can only move around the outer edge of the playing field until a modifier is applied. (most likely holding one of several buttons) to move into the middle of the field. Hope this makes sense.

I am looking forward to having some fun with this thing.

Comments

  • hypnotxhypnotx Member Posts: 4
    Decided to post my second question in a different post since they are not really related.

    What is the best way to make an actor "draw" a line behind itself as it moves? I watched the video tutorial on the "kinda working drawing" in the support section but it tends to leave gaps in the line depending on the speed.

    Can I use one actor to "draw" a new one on the screen?
Sign In or Register to comment.