Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
i want to have a ghost character and i read in the tutorial that making something half transparent is possible with the alpha thingy. but like... how do i actually use it?
i have this
image w = "red.png"
image w lookaway = "redlookaway.png"
image w calm = "redcalm.png"
image w shy = "redshy.png"
image w smile = "redsmile.png"
image w smile2 = "redsmile2.png"
but the emotions show up as normal transparency even if i write "show w lookaway alpha" or "show w alpha lookaway". do i really have to state every single emotion as alpha?? or am i missing something
Last edited by glithch on Mon Apr 17, 2017 5:22 pm, edited 2 times in total.
can you make the image itself somewhat transparent without doing it in Ren'py? (I would use Photoshop and lower the opacity, I'm sure you could do something similar in other programs?)
Scribbles wrote:can you make the image itself somewhat transparent without doing it in Ren'py? (I would use Photoshop and lower the opacity, I'm sure you could do something similar in other programs?)
of course i could do that but it seems counter productive. renpy has the tools to do it so i can do it. and i rather not add more images than i have to, the file is going to be heavy anyway
The colon means you want to add properties to the image. No need to define the image twice, just do it once and when you show it, specify the properties you need, as shown by xela
Perhaps this helps a bit?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Imperf3kt wrote:The colon means you want to add properties to the image. No need to define the image twice, just do it once and when you show it, specify the properties you need, as shown by xela
Perhaps this helps a bit?
yes i get it now. i was trying it out and it works perfectly. thank you all for help