Need Help! Is it possible to have actor follow a line?

KhaodikKhaodik Member Posts: 4
edited November -1 in Working with GS (Mac)
Hello,
Im currently trying to build a game that includes an actor having to follow a line that curves, etc. Like a roller coaster. Is this even possible in GameSalad?
Any help is appreciated!
Thanks in advance!

-Chris Zielinski

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I have seen a line following demo but I dont remember who had it. it is possible just don't know what to do exactly. have you tried searching in the new game section of the creators dashboard?
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you could have an actor set to collide with the line segments that make up the line and use the physics engine to control movement. In other words, if you draw a "hill" the actor will roll down the hill. Look in the new sectino of the GS creator start screen for the line drawing demo by ORBZ. Then Set your main actor to collide with the line segment actors.

    OR

    You could combine the ORBZ line drawing demo with his waypoint demo. This is what I did (with some modifications to get it working right for my game) to make my new game fright control - see below:

  • KhaodikKhaodik Member Posts: 4
    @tenrdrmer Thanks for the suggestion!

    @scitunes Thanks for your response! I need to do something exactly like your video, except without drawing the line. I looked at the demos you told me and im completely lost! How can i have an image of a line be followed?
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Check out the waypoint demo. http://gamesalad.com/game/3153

    Put some invisible waypoints on your rollercoaster track and make your car follow them.
  • KhaodikKhaodik Member Posts: 4
    @Asymptoteell Great idea! Thanks
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Any time. Except 3:42 pm.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    if you just want it to go up and down hills and such, and dont need it to actually follow a line you can look at the demo in my profile. By adjusting the physics you can get it right
  • AsymptoteellAsymptoteell Member Posts: 1,362
    John's right. If you make your track physically sensible, it could work like that.
  • KhaodikKhaodik Member Posts: 4
    Thanks guys for all your help!
  • jimthedudejimthedude Member Posts: 25
    hey guys I was trying to combine "ORBZ line drawing demo with his waypoint demo" in order to make it, like in the game "Fright Control" by "scitunes" but is not working for me :(
    any suggestions to make it work?
  • jimthedudejimthedude Member Posts: 25
    hey guys I was trying to combine "ORBZ line drawing demo with his waypoint demo" in order to make it, like in the game "Fright Control" by "scitunes" but is not working for me :(
    any suggestions to make it work?
Sign In or Register to comment.