Wood Cutting

kirklandkirkland Removed Posts: 268
edited November -1 in Working with GS (Mac)
hi

i was wondering if you could do this in game salad

say for example you have a bit of wood on the game, you need to cut the wood in order for the ball to roll down the cut wood. but you cut the wood with your finger

how do you do this in game salad and you need need to create all the graphics for each bit of wood cut

Comments

  • hotMagichotMagic Member, PRO Posts: 266
    yeah I think you'd need each fragment of the wood, and when the person cuts the wood, you delete the full piece of wood and spawn the two cut fragments. The full piece doesnt have gravity, but the cut pieces do, so your object will roll down them when they make inclines by falling on something.
  • kirklandkirkland Removed Posts: 268
    any idea of how this would be possible
  • hotMagichotMagic Member, PRO Posts: 266
    yeah do the thing I said lol. Make the wood image just like you want it in photoshop or gimp. Save that as Whole.png. Then cut it into two pieces like it was just cut. And save it as Piece1 and Piece2.

    Make actors for piece one and piece two that are active in the physics simulation. Like they will fall when spawned.

    Make an actor for the whole thing that doesn't get affected by gravity so it will stay as a platform.

    When you slice the thing, delete it and spawn the other guys

    The other challenge is you should check the slash speed and that it intersects the board. See this post. I'd copy paste for you but Im not at my mac. http://gamesalad.com/forums/topic.php?id=12188
Sign In or Register to comment.