How can i save an image without edges?

Started by
1 comment, last by BagelHero 9 years, 11 months ago

Hello

Is there anyway that i can save an image in Photoshop without any background?

I mean if i draw a triangle, i want the result image be a triangle not a triangle inside a square

I need it for when i make a game and an object collides with my triangle, the collision starts when the object hits the triangle.

I hope you knew what i mean :(

(the triangle is just an example my real image is something complex)

Advertisement

A) add an alpha channel and erase the background, save the image in a format that supports transparancy. (.png is fairly popular)

B) pick one color(magenta is popular for this) to use as "transparent" and filter it out in your engine.

[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

Next time when you start an image, if possible, start with no background. Either add a new layer, draw only on that, then delete/hide the old white one with the lock on it for immediate transparency, or when choosing to open a new image, make sure "transparent background" is used.

Much easier than drawing on white and erasing the background every time, of course you may need to do that with complex sprites you've already gotten/done that are all on the same layer/have white backgrounds.

This topic is closed to new replies.

Advertisement