Bounce and Rotate

VGXVGX Member Posts: 796
edited November -1 in Working with GS (Mac)
Hi I'm new to GameSalad and am excited about my game, however I'm stuck. Have 2 questions,

How do you make a ball bounce left and right?
and rotate around the screen clockwise/anit-clockwise?

I have searched but can't find the answer perhaps not searching it correctly. Appreciate the help :)

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    Restitution is the ball's bounciness. The values are from 0 - 2. A value of 1 will give a ball bounciness equal to where it started from. A value of .9 or lower the ball doesn't have a lot of bounciness and it will continue to bounce less high with each successive bounce. A value of 1.1 or higher will give the ball extra bounciness and it will bounce higher than where it started from.

    Use a rule; when ball collides with X-object rotate clockwise or counterclockwise.

    Good luck.
  • VGXVGX Member Posts: 796
    What behaviors to I need to use to make the ball move from side to side?
  • VGXVGX Member Posts: 796
    Sorry to be a pain but I want it to bounce left to right, right to left and so on. I don't know what rule or behavior to use. Once I know this I can work out the rest (hopfully)
  • VGXVGX Member Posts: 796
    This is going to be a long night
  • SkyMapleSkyMaple Member Posts: 817
    Try Using a change velocity and set the direction to "0" or "180"

    ___________________________________________________

    Game Making Service
    Sketch to Vector Service
    "Power Orb" Style Template
    Targeting System Template
    Code for Art- Trading
  • VGXVGX Member Posts: 796
    Thank you DrGlickert, tshirtbooth and SkyMaple
Sign In or Register to comment.