Does GS have this feature?

jb15jb15 Member Posts: 602
edited November -1 in Working with GS (Mac)
I'm looking to make a game where a actor is following a pre-made path. Does GS have "paths"?

If not, do you know any iPhone game engines that do? Thanks!

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    It can be done. It seems like I saw a demo on someones profile they made about following a path.
    I'll look and see if I can find it but open GS and click new then type in the search looking for something like that.
  • jb15jb15 Member Posts: 602
    I actually haven't yet downloaded GS (I don't have a mac yet).

    I'm just looking for a iPhone engine (preferably as easy as this one!) that has paths. If anyone here knows of an engine like that, or if this feature is already in GS, I'd really like to know.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    there's not a "paths" behavior but you can lay stuff out where an object follows a certain path.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yes you can make a path.
  • jb15jb15 Member Posts: 602
    Thanks! I'm a little confused, though. How easy is it to have an actor follow a path? Any screenshots/videos would be really appreciated.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Theres a couple ways do it. One consists of interpolation the position then having a rule that checks when the actors reached that position, and when it has interpolates to the next spot. Then if you want it to keep looping at the end of the interpolates you would interpolate to the starting position and then add in your first interpolate rule that when its position is equal to its starting position start the first interpolate rule. So if you interpolate back to the start position it will start back up again and keep looping.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    I am working on a game right now called Fright Control:



    It is basically a combination of the Drawer demo by Orbz and the way point demo by orbz. I bassically have two "pen" actors (as Orbz called them) that are invisible. One spawns visible line segments (drawing demo) the other spawns invisible waypoints (waypoint demo). Then there is a bit of trickiery to make it work flawlessly. I am thinking of making it into paid template after I get this game done so I'll hold on to my secrets for now.
Sign In or Register to comment.