Question about collision and graphics?
nep2008
Member Posts: 16
Everytime I go into Gimp and try to make a smooth ramp that has a curve for my game, the transperency is brought over in GS. No matter what I do I can't seem to have the object collide with my graphic actor, instead it always collides with the residual transperency that is left over in the actor. If I create just wall actors and make them invisible under the graphics it looks choppy even if I set collision to circle.
Is there a way when I bring an image into GS from Gimp that I can totally eliminate the residual transperency so I can have a true collision with my graphic. Can someone please make any suggestions for me. I am very new to GS and making games. Sorry if these are rookie questions!
Is there a way when I bring an image into GS from Gimp that I can totally eliminate the residual transperency so I can have a true collision with my graphic. Can someone please make any suggestions for me. I am very new to GS and making games. Sorry if these are rookie questions!
Best Answers
-
jamie_c ImagineLabs.rocks Posts: 5,772I'm afraid not, Gamesalad supports rectangular and circular collision boxes only. Your idea for using the image as a background and placing collision boxes on it are what you're going to need to do. You're just going to have to place the collision boxes very carefully to help eliminate any choppiness.
I haven't done this myself but I'm certain I've seen some samples done by others here, perhaps they can offer a little more insight. -
PixelPun Posts: 324Just create the graphic that you want, in the shape that you want and place boxes with collision over the shape and try to fit them as best as you can. It gets a bit more tough if you want this shape to move, but it can be done.
-
jamie_c ImagineLabs.rocks Posts: 5,772Check out this thread, it has a game with a circular 'race track' kind of action...
http://forums.gamesalad.com/discussion/54842/dba-competition-win-any-item-from-dba
Follow the link in the first post.
It's not instructions, but more just to show you that it can be done.
Answers