cat physics type game tip

DetheDethe Member Posts: 172
edited November -1 in Working with GS (Mac)
hey guys I have figured out how to make a game like cat physics and most of the script is in the ball so it goes like this:

Rule
If attribute "move" = true
change attribute "motion linear velocity X" to "cos(game.arrows rotation)*600"
change attribute "motion linear velocity Y" to "sin(game.arrows rotation)*600"

that makes a smooth bounce off the arrow into the arrows direction and you can change what it is multiplied by to make it bounce lower, higher or slower and faster.

Hope this helps!

Comments

  • design219design219 Member Posts: 2,273
    I'm not familiar with "cat physics", but that looks interesting. What games use this type of physics?
  • DreamLabDreamLab Member Posts: 2,127
    Cat physics is like the game sweet froggy that someone made with gamesalad. Its pretty cool. you move these little arrows and things around to guide the ball of yarn from one cat to the other.
    DL
  • DetheDethe Member Posts: 172
    yeah its pretty cool.
Sign In or Register to comment.