Which image formats does GameSalad accept?
Hello all,
I know that GameSalad accepts jpeg and png files but am curious if it accepts targa? Thanks in advance!
Thanks,
killerpenguins
I know that GameSalad accepts jpeg and png files but am curious if it accepts targa? Thanks in advance!
Thanks,
killerpenguins
Comments
cheers
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
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.
Thanks,
killerpenguins
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