• Advertisement
Sign in to follow this  

How can i save an image without edges?

This topic is 1367 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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)

Share this post


Link to post
Share on other sites
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.

Edited by SimonForsman

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement