Ren'Py PNG Error
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
Ren'Py PNG Error
My images (which are the .png file type) keep having this black background whenever it shows up in the game, I don't think I should show my code because I don't think it is because of that (if anyone asks, I will, though), but I wanted my images to show no background, these are for the sprites, not the backgrounds by the way, I hope someone will help me with this.
- Chloe
- Chloe
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Ren'Py PNG Error
What do you expect to see behind the sprites?
Are you positive the black isn't in the images themselves?
Did you save your PNG file with an alpha channel? If not, do you have access to the original artwork files, or not? If not, you can probably still create an alpha mask.
Are you positive the black isn't in the images themselves?
Did you save your PNG file with an alpha channel? If not, do you have access to the original artwork files, or not? If not, you can probably still create an alpha mask.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
Re: Ren'Py PNG Error
1. What I expect to see is just the background, no white or black surrounding the imageImperf3kt wrote: ↑Mon Sep 24, 2018 9:21 pm What do you expect to see behind the sprites?
Are you positive the black isn't in the images themselves?
Did you save your PNG file with an alpha channel? If not, do you have access to the original artwork files, or not? If not, you can probably still create an alpha mask.
2. I am positive that the black isn't in the photos
3. Yes, I'm completely sure
Re: Ren'Py PNG Error
Have you tried using other sprites that have transparent backgrounds too aside from your own set?
Don't read me...
Seriously don't.
Just kidding. I'm just an awkward potato who doesn't know what to say in my signature...
Seriously don't.
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
Re: Ren'Py PNG Error
"It works" as in, it's transparent and has no black background, i'm sure you knew that but I just wanted to make it clearborkingsparks wrote: ↑Tue Sep 25, 2018 10:52 pmJust tried one, and it works. I don't know what I did wrong.
Re: Ren'Py PNG Error
Then that means that there is something quite wrong with the sprites you are using.
Could you upload a sample sprite?
Could you upload a sample sprite?
Don't read me...
Seriously don't.
Just kidding. I'm just an awkward potato who doesn't know what to say in my signature...
Seriously don't.
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
Re: Ren'Py PNG Error
I know this isn't a drawn sprite its just a photo, maybe that has something to do with it?
The thing is, I've used the same program for getting rid of backgrounds on photos or just artwork that I made, and they've come out with no background, so it's a bit confusing.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Ren'Py PNG Error
That file is a jpg. Only pngs can do transparency. So, in the program you are using, you should make sure to save as png rather than jpg.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
-
- Newbie
- Posts: 6
- Joined: Mon Sep 24, 2018 8:29 pm
- Projects: Peppy Love
- Contact:
Re: Ren'Py PNG Error
I know that this one is a jpg, but this problem is happening to both. I just posted one of the jpgs because it was quicker.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Ren'Py PNG Error
Since jpgs can't have transparency, it will not work with jpgs. If it is also not working with pngs, you might want to post one of your pngs...so we can see if your pngs have a transparency layer or not.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Who is online
Users browsing this forum: Google [Bot]