math help pls!

cptongsgcptongsg Member Posts: 70
edited November -1 in Working with GS (Mac)
Hi, I saw this tutorial on wave movement http://gamesalad.com/wiki/how_tos:gsc_wave_movement
How can I make the projectile move down in wave motion instead of moving up. I can make it move up following the tutorial but have no clue how to make it move from another direction. If possible pls also help me to move from left direction & right direct. Your help are greatly appreciated. Thks in advance :)

Comments

  • GameSaladGameSalad Key Master, Member Posts: 33
    Replace the instances of self.Position.X with self.Position.Y and vice versa, on all parts of the Constrain Attribute.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Replace the instances of self.Position.X with self.Position.Y and vice versa, on all parts of the Constrain Attribute.
  • cptongsgcptongsg Member Posts: 70
    can you kindly show me a simple example pls! Im really clueless. I have try to change the constrain but dosn't work.
  • cptongsgcptongsg Member Posts: 70
    ok it work, I get it to move from left to right. but how do I get it move from right to left?
Sign In or Register to comment.