how do i make a actor move to and fro

bad_dawgbad_dawg Member Posts: 38
edited November -1 in Working with GS (Mac)
hi guys i want to make a actor move from one place to another and make it come back to the same position repeatedly...like the enemies in the nes mario games...but i dont know how...

help please :D

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Do a search, this was asked and answered yesterday. I bet the thread has not even left page 3
  • b2iscoolb2iscool Member Posts: 135
    jonmulcahy said:
    Do a search, this was asked and answered yesterday. I bet the thread has not even left page 3

    I know this question is literally asked like atleast twice a day haha so i was like forget this and made a demo
    here it is: http://gamesalad.com/game/13916
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Theres tons of demos on this, the point is to search for them.

    And also he wanted a pacing back and forth action, not bouncing between 2 walls. But nice lil demo
  • b2iscoolb2iscool Member Posts: 135
    ya its the same idea though you could put invisible borders or whatever
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    b2iscool said:
    ya its the same idea though you could put invisible borders or whatever

    that would work for a bouncing ball like your demo but for a enemy character nooo you dont want to put walls, that will make it sloppy

    you would want to use interpolate and rules when self position = to make a continous back and forth pace with animations and such for each direction
  • b2iscoolb2iscool Member Posts: 135
    http://gamesalad.com/game/14100: just add the right and left animations on to the image part and there ya go!
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    b2iscool said:
    http://gamesalad.com/game/14100: just add the right and left animations on to the image part and there ya go!

    thats my point, it sticks to the walls sometimes, and also what if you want him to move up and down while across, that gets even sloppyer when using that way. Second by using interpolate you can have your actor non moveable, and have pinpoint precious as to where all its movements are.

    Im not trying to argue with you, im just saying theres alot better way.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Yeah he just wants a constant moving back and forth object. the back and forth movement is very simple but honestly if you are not far enough along in reading to be able to think up that logic you prob need to do a bit more reading first.

    For example look at the video of the last update to my bubble ball template. there are platforms that move back and forth .no walls or anything thats what he's looking for I believe.

    ___________________________________________________________________________________
    GS BubbleBall Template HERE!!
    Stacks Level Selection Template HERE!!
    AppSolute Entertainment on Facebook
    image
  • b2iscoolb2iscool Member Posts: 135
    JohnPapiomitis said:
    thats my point, it sticks to the walls sometimes, and also what if you want him to move up and down while across, that gets even sloppyer when using that way. Second by using interpolate you can have your actor non moveable, and have pinpoint precious as to where all its movements are.

    Im not trying to argue with you, im just saying theres alot better way.

    ya i understand totally just showing a way to do it when its somthing simple but interpolate is def better for things like those nasty jumping turtle that shoot thos things out in super mario bros! haha
Sign In or Register to comment.