*HELP* Drag Actor To Follow My Finger Trail + Stop

wildstormwildstorm Member Posts: 4
edited November -1 in Working with GS (Mac)
Hi There

Can anybody help me please, I am new to GameSalad and new to MacBooks as well. I found GameSalad and got a Mac just for this.

Anyway my problem is this.

1, I have an actor that I want to move.
2, To move the actor I first want to touch actor.
3, Now without letting go, drag my finger across the screen in any pattern I want, until I let go.
4, Have the actor slowly follow the invisible trail that my finger made and stop where I released my finger.
5, Also if I touch the actor again while its following the trail I want it to stop.
6, I could now touch the actor and draw a new trail for it to start to follow.
7, Lastly I would like the actor to leave a trail that would look something like a solid line in Glow Draw
http://itunes.apple.com/us/app/glow-draw/id364873934?mt=8

Here is a similar type of control system used in Flight Control, but I would like to be able to touch the actor to stop him or reroute him.
http://itunes.apple.com/us/app/flight-control/id306220440?mt=8

Comments

  • wildstormwildstorm Member Posts: 4
    Anybody???
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    There are two paths you could take here.

    1) Look in the marketplace section at the top of the forum page. There is a flight control demo that looks pretty good. I would think that you could accomplish the stop feature by having an attribute that when touched becomes true and then have a rule when that attribute us true you change max speed to 0 or you change both linear velocities to 0. This path would cost you money to purchase the template.

    2) Look up the demo on waypoints and the demo on line drawing. They are both by ORBZ. Search in the new section of the GS creator start screen. Basically you would make the waypoints non-movable so there is a section were ORBZ says to use constrains so they can be changed in real time. Change those behaviors to "change attribute" instead of "constrain attribute". Then have a rule that when selfID = waypoint coint and overlaps with main actor change game.stop to true (you'll have to make that one). And in the main actor have a rule that says when game.stop is true change linear velocity x and y to 0 (or try changing max speed to 0). To have the trailing line look at the line drawing demo and basically have the actor be the "pen" as ORBZ calls it. So that when it starts moving it will also spawn the line segments in that demo. This path is free but may require more time and effort on your part.

    Good luck!
  • wildstormwildstorm Member Posts: 4
    Thanks for the info at least I have a direction to go now.

    In my search for the answer I came across Fright Control, this was inspiring as now I know that what I want to do can be done.

    anyway I purchased it from the UK app store and also gifted it to my nephew. two sales
    I also left a 4 star review. I have now found the reset button.

    although I need similar controls my game is completely different in gameplay, hope to crack it so you can see it.

    Anyway could you please post a direct link to the flight control demo as I can't find it anywhere.
Sign In or Register to comment.