Which image formats does GameSalad accept?

KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
edited February 2012 in Working with GS (Mac)
Hello all,
I know that GameSalad accepts jpeg and png files but am curious if it accepts targa? Thanks in advance!

Thanks,
killerpenguins

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    It allows you to import a few different types, but they all get converted to .png no matter what. So might as well make them .png

    cheers
  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
    @JohnPaplomitis
    Well I am basically trying to find a better way to import an image so that the collision will work better on that object. Say for instance I have an image of a dolphin. I created the image in Photoshop. The images canvas is transparent of course. I save the file as a png so it keeps the canvas transparent. When I import the image into GameSalad all you see is the dolphin image as expected but when I put the collision on the object, the collision box is set to the transparent canvas. So if I say, when the dolphin collides with a rock to destroy the dolphin, since the collision box is set to the transparent canvas, most of the time the collision occurs even making it seem as though the dolphin didn't hit the rock but it's because the size of the canvas. Is there a way around this? Thanks in advance!

    Thanks,
    killerpenguins
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited February 2012
    The only collision shapes gamesalad have are rectangle/square and circle.

    Gamesalad will collide with the transparent areas of an image. It doesnt matter what image type you use, it will be converted to .png in gamesalad, and have collisions happen on the transparent areas of the image as well.

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
    So would you suggest creating custom hit boxes? Would that make the collision effect look more accurate to the player? Thanks again for the responses!

    Thanks,
    killerpenguins
  • MotherHooseMotherHoose Member Posts: 2,456
    Crop your image …
    so that the transparent pixels are only filling areas as needed to keep the area of the dolphin-pixels' width and height
    ??? trust me … in your graphicsApp … Crop the Image

    in the actorAttribute pane: … Physics > Collision Shape … select Circle

    do also for your Rock … crop and circle collision shape

    this should get you a smaller collision size … without needing a 'custom hit box'

    @};- MH
Sign In or Register to comment.