elastic/rubber effect

chicopchicop Member Posts: 263
edited November -1 in Working with GS (Mac)
hi there

is it possible to have an elastic cord effect to bounce a object off of with gamesalad?

is that physics or would that need to be faked?

thanks

Comments

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    There is a really superior demo of how to do an elastic cord effect in GameSalad. Search for "Elasticity DEMO". When you find it, check the otherwise section of the "Dragging/Release" rule (in the ball prototype). It is a finely crafted piece of GameSalad 'coding'. A real work of art!

    By the way, in Box2D (the physics engine for GaneSalad) this is known as a 'distance joint'. When GameSalad releases their version of joints, this kind of effect will all be accomplished in one simple behavior (I hope).
  • ShineyGamesShineyGames Member Posts: 157
    I used the code and changed it abit to get the stretch in the frog tongue in my game greedy frog free
    you can do alot with that demo
  • chicopchicop Member Posts: 263
    awesome thanks guys!
Sign In or Register to comment.