How to create a curved collision box?

I have a curved ground now. I want to make a curved collision box to attach on the ground, so that my hero can walk on this round ground.

But I couldn't find the way to do this.

Who can help this? Thanks˜

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    the short answer is you can't. GameSalad has circle and rectangles for the collision shapes.

    Now the Long answer. If you take the time you can place small rectangles all along your curves and you can somewhat create a curved surface. There was a very popular game called Bumps that used this technique and it worked quite well for them.
  • CroissantCroissant Member Posts: 21
    Thanks, tenrdrmer, your answer is useful, I'll try it˜
  • CroissantCroissant Member Posts: 21
    By the way, the game Bumps that you told is made by GS?
    Where can I to play this game?
  • SocksSocks London, UK.Member Posts: 12,822
    edited September 2013
    @Croissant

    Like @tenrdrmer says you can plot a line of actors to create a curved surface - the line of actors don't even need to be connected - a line of spaced dots will often be good enough for a surface - using a line of spaced dots saves you from having to rotate each rectangle to the right angle (so that they join forming a line).

    I've attached an example file - play it, see how the balls interact with curved line of dots - then drag the big white slider at the top of the screen left and right to change the individual points into rectangles that join up (you can pick the ball up and drop it on your new surface to see how it interacts) - as you can see that depending on the actor that will interact with the curved surface that you often can get away with just using dots.

    Of course once you have your dotted curved line you can place a smooth curved image over the top of it.

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I believe there is a version of bumps on the GS arcade. It should be on iPhone as well though. Unless they have taken it down.
  • CroissantCroissant Member Posts: 21
    Thank you two so much˜
  • hxcj88hxcj88 Member Posts: 1
    Did you just make tiny dot actors and place them in a curve for this to work? For example, if I want the main character to follow a curved floor that I have an image for, I could line up the dots to the image, therefore he would follow the image sort of speak?
Sign In or Register to comment.