icon & transparency
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 65
- Joined: Thu Aug 28, 2008 3:00 pm
- Projects: Alchimical Girl -Homuncule-
- Location: France
- Contact:
icon & transparency
i have a probleme with my icon in my project
i use this config.window_icon = "ringout.png" before config.window_title = u"Pro Lesring Ring Out", it"s ok but my icon appears without transparency!
My image is 48x48 and png.
I try different format and I desperate to find a solution to this problem!
i use this config.window_icon = "ringout.png" before config.window_title = u"Pro Lesring Ring Out", it"s ok but my icon appears without transparency!
My image is 48x48 and png.
I try different format and I desperate to find a solution to this problem!
- Midnighticequeen
- Veteran
- Posts: 292
- Joined: Fri Apr 04, 2008 4:04 pm
- Completed: Bunni and Kitty, Sweethearts, Tiesa's Tales
- Projects: Wish
- Organization: Ice Queen Games
- itch: icequeenstudios
- Contact:
-
- Regular
- Posts: 65
- Joined: Thu Aug 28, 2008 3:00 pm
- Projects: Alchimical Girl -Homuncule-
- Location: France
- Contact:
Re: icon & transparency
i have converted my picture on gif, but that dont work !
Snifff !
Snifff !
- Midnighticequeen
- Veteran
- Posts: 292
- Joined: Fri Apr 04, 2008 4:04 pm
- Completed: Bunni and Kitty, Sweethearts, Tiesa's Tales
- Projects: Wish
- Organization: Ice Queen Games
- itch: icequeenstudios
- Contact:
Re: icon & transparency
Wow, that should have worked, maybe you should ask PyTom about it.
- PyTom
- Ren'Py Creator
- Posts: 16088
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: icon & transparency
Unfortunately, I don't have a good answer to this. The only thing I can tell you is to fiddle with the icon until it works.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: icon & transparency
Could be an SDL problem. I've encountered something similar, not with Ren'Py, but with ONScripter (which is an SDL application as well). Sadly, I never managed to really fix it, but try around with different icon sizes (e.g. 32x32, 16x16), various encoding methods (PMG-24, PNG-8 with various pallette sizes). None of them looked perfect, but I settled for the one that was broken the least.
My current Ren'Py game icon (which works perfectly) is 32x32, PNG-24 with alpha. I attached it, you can test whether it works for you.
My current Ren'Py game icon (which works perfectly) is 32x32, PNG-24 with alpha. I attached it, you can test whether it works for you.
- Attachments
-
- icon.png (4.29 KiB) Viewed 1472 times
The rest is left as an exercise for the reader.
-
- Regular
- Posts: 65
- Joined: Thu Aug 28, 2008 3:00 pm
- Projects: Alchimical Girl -Homuncule-
- Location: France
- Contact:
Re: icon & transparency
your picture is ok !
But when i change the format et the size of my picture the transparancy is not ! i have alpha canal !
Delta i open your image(heart) and my image, i have erase your image and copy and past my image in your picture my image and that functionne ! the programme dont recognize the transparancy of my image !
thanks all for you help !
and don't foget i am a renpy kamen rider of eroge !
But when i change the format et the size of my picture the transparancy is not ! i have alpha canal !
Delta i open your image(heart) and my image, i have erase your image and copy and past my image in your picture my image and that functionne ! the programme dont recognize the transparancy of my image !
thanks all for you help !
and don't foget i am a renpy kamen rider of eroge !
-
- Veteran
- Posts: 359
- Joined: Sat Feb 25, 2006 11:09 am
- Location: Sant Cugat del Vallès (Barcelona, Spain)
- Contact:
Re: icon & transparency
Which program are you using to handle your images?
If possible, you should try to check the format details (format, pixel size, color depth, etc) of both files (delta's and yours) and see what is different among them; that way you should be able to find out what makes the difference between a file working and not working
If possible, you should try to check the format details (format, pixel size, color depth, etc) of both files (delta's and yours) and see what is different among them; that way you should be able to find out what makes the difference between a file working and not working
I have failed to meet my deadlines so many times I'm not announcing my projects anymore. Whatever I'm working on, it'll be released when it is ready
-
- Regular
- Posts: 65
- Joined: Thu Aug 28, 2008 3:00 pm
- Projects: Alchimical Girl -Homuncule-
- Location: France
- Contact:
Re: icon & transparency
For my image i have used the gimp !
My original image was a ico (48x48) i converted her in png (32X32) format !
Just the tranparancy of my image dont work, but the transparancy of delta's heart !
but i have ramplacé the heart of delta by my icon and that work.
Is it because I converted my image icon or is there more kind of transparency, I can not say !???
My original image was a ico (48x48) i converted her in png (32X32) format !
Just the tranparancy of my image dont work, but the transparancy of delta's heart !
but i have ramplacé the heart of delta by my icon and that work.
Is it because I converted my image icon or is there more kind of transparency, I can not say !???
-
- Veteran
- Posts: 284
- Joined: Fri Dec 28, 2007 5:47 am
- Location: Where the Dragons rule!
- Contact:
Re: icon & transparency
You said you have alpha channel on the image. I don't know if your icon file has several layers, but if it has, then "merge layers" and you will have it all on one plane. Then try saving the icon.
Angels of paradise, angels of sacrifice
Please let me be under your wings...
Please let me be under your wings...
Who is online
Users browsing this forum: No registered users