GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Help with Collision

Justin007hJustin007h Posts: 52Member
edited October 2013 in Miscellaneous
So I went to behaviors and copied a behavior it into an object I hit play and the object fell and it didn't even touch the other object when it bounced off then I realized it was because of the backround that used to be there for the image and I already finished the images on my games and almost all of them have that border that interrupts what I want it to look like any idea how to fix this otherwise I have to start over :-(

Comments

  • jonmulcahyjonmulcahy Posts: 10,380Member, Sous Chef
    1. please put a more descriptive title, oops really doesn't tell what's going on.

    2. I'm not sure really what is happening. Your entire post is a single sentence :), makes it very hard to read. what exactly is going wrong? it sounds like your talking about collision rules and movable objects, which really have nothing to do with a background image. Could you try re-explaining what is going wrong?



  • Justin007hJustin007h Posts: 52Member
    1)oops is to get peaples attention 2) what I mean is that I created an square image and added something inside then got rid of the white backround I put it into my game but even though that backround is gone the ball acts like that's the object (maybe that will help more?) 3)example-I had a white square I put a small green edge in the middle I got rid of the white backround and put it into my game to act as an edge for something to roll off of but it acts as though the now clear square object is still there so it rolls off as if it were a square maybe a centimeter from where my triangle is.
  • blue_elephantblue_elephant Posts: 505Member
    edited October 2013
    @Justin007h You seem to be having trouble with Gamesalad in general. Why not watch T-shirt Booth's youtube tutorials and read the cookbook before you start making games.

    ★ My Apps | Gamesalad Tutorials : Youtube Channel , Website. ★

  • GS_MasterGS_Master Posts: 159Member
    edited October 2013
    hmm..
  • KevinCrossKevinCross London, UKPosts: 1,893Member
    When an object falls as soon as your game starts it'll be because you've got gravity in your game and your object is marked as movable. If you want it to bounce then you obviously wanted gravity on, so to stop it from falling off the screen completely add a floor to your scene. Do this by adding an actor to the scene, make it as wide as the scene and then make sure the movable option is unchecked.
  • gyroscopegyroscope I am here.Posts: 6,577Member, Sous Chef, PRO
    edited October 2013

    Hi @Justin007h ...or do you mean you want the ball to collide with other actors as a ball not as the invisible square? In that case, double-click the ball actor to go into its Rules, and in the Attributes column on the left hand side, scroll down to Physics. Click on the disclosure triangle to open it. Then hold down the drop down menu next to "Collision Shape". Select "Circle".

    Now your ball will collide with other actors as a ball, not as a square... (this will only work successfully if the ball touches the sides at four points on the square, i.e the circle fills the square as much as is possible)... if that's what you were after...

    -----------

    As someone else implied, "Oops" is meaningless as a title; and I must point out, "Help" is as meaningless as "Oops". 99.9% of people who start threads here in the Forums want help, and all want to get the attention of someone to help them... you are no different... so as has been asked, please make any future thread titles much more descriptive with what your question is.

    And please try to write logically with short sentences with commas and full stops. This will help others, in future, to understand what you are asking much more easily.

    ------------

    Have you gone through the GameSalad manual, and worked your way through the exercises in the Cookbook? If you haven't, I strongly advise you to do that, it will give you a great grounding in the program. (Hold down Help in the menu bar on this website, and you'll see them both the Cookbook, and the manual to download, there).

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • Justin007hJustin007h Posts: 52Member
    It's still not working the (what used to be the white backround) is acting as though it is the object supposed to block the ball so it looks like the ball hits an invisible wall around my colored in object.
  • gyroscopegyroscope I am here.Posts: 6,577Member, Sous Chef, PRO
    edited October 2013

    Is your ball image touching on 4 sides of an invisible square? Or smaller inside an invisible square, with space all around it?

    P.S I've changed the title of your thread to "Help with Collisions" as that seems to be what you're asking about.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • Justin007hJustin007h Posts: 52Member
    No I don't think it is how do I get it to do that?
  • KevinCrossKevinCross London, UKPosts: 1,893Member
    Open the image in an art program and reduce the size of the canvas so that all 4 edges of the canvas are touching the ball.
Sign In or Register to comment.