I am having issues trying to get this code to work for a Character Creation game. Meaning... Once I'm done with the Art Assets, I do plan to release it. But I want to release it with the codes to help other people for fun.
I went on Discord and asked questions and someone took the time to help me, however, it was short as we were both tired.
Code: Select all
group ear:
attribute ear default AlphaMask("Sprites/full/natural/Alpha_0_[pose]_[hair].png")Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/Appearance.rpy", line 230, in script
layeredimage mc1:
File "renpy/common/00layeredimage.rpy", line 779, in execute_layeredimage
rai.execute()
File "renpy/common/00layeredimage.rpy", line 771, in execute
l.extend(i.execute())
File "renpy/common/00layeredimage.rpy", line 297, in execute
rv.extend(i.execute(group=group, properties=properties))
File "renpy/common/00layeredimage.rpy", line 263, in execute
image = eval(self.image)
File "game/Appearance.rpy", line 331, in <module>
attribute ear default AlphaMask("Sprites/full/Alpha_0_[pose]_[hair].png")
TypeError: __init__() takes exactly 3 arguments (2 given)group ear ->:
As for what I'm trying to do... I have this front hair that interferes with the Ears. So in order to solve this, I put the ears in front, hoping to save me many pictures just for making the ears fit with the hair. So I'm trying to use the Alpha Mask to help save me both data and time. Although, I'm not an impatience man. Lol.
I guess I need to figure out where to put it and figure out what I'm missing. Any help would be highly appreciated.
PS- if I'm not clear on certain things, feel free to ask me. I don't mind providing information.
Jac.