Editing Collision Shape?

I'm making a falling ball game. Since the ball has to collide with the platform, i want it to appear to come in contact with platform rather than hover above it. I know in actor attributes, under physics, you can change the collision shape, but that didn't seem to help me at all. Also, i made the image in powerpoint, if that makes a difference. Also, i saw that the variable type of collision shape was enumeration. Not really sure what that is. Please help!

Answers

  • kinzuakinzua Member Posts: 554
    @superpig589 currently you have 2 collision shapes in GS. Either rectangle or circular. In your case, where you see the collision shape drop down , change that to circle and u r on. Check which actor you applying it to. Double check since it cannot have a problem.

    Its doesn't make a diff what sw u use to do ur art, as long as the output is in GS compatible image format.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You should be exporting images as .png files but you also need to make sure that the bounding area of the saved image file is cropped as close as possible to the visible contents of the image. If you have a platform that is not a rectangle or circle, you're going to have problems with collisions occurring outside of the visible image area.

    Maybe post a screenshot to give us an idea? You can upload an image to a file-sharing service and then post the URL as follows (without the $ symbol):

    <$img src="URL">

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.