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.
image blink01:
"images/character_atl/blink01.png"
xalign 0.3 yalign 0.45 ########## here I don't remeber if you must use xalign or xpos (try both)
image blink02:
"images/character_atl/blink02.png"
xalign 0.3 yalign 0.45
image blink_hide: ######## this is a transparent rectangular with the same dimension of the eyes ( for your example, you need it to call and create all)
"image/character_atl/blink_hide.png"
align 0.3 yalign 0.45
etc... #######PS you must and need to define also a "character background" on witch your eyes animation run hover.... ("char_paul_blink.png" e.g.)
lable my_label_blink:
scene my_background_location with dissolve ######## this is your location
show char_paul_blink ######## this is the character that have the animation
show blink_hide at blinks01 ######## this is your transparent rectangular that call and run your ATL
a "hi gorgeus!"
jump elswhere
try to read well my example, because it's a little bit different how is define all and read well the renpy documentation in the renpy site
PS....
I must apologize....
re-reading your post, perhaps I understand bad and you don't use a character without eyes and after you show eyes hover it...
but on contrary perhaps you are using the complete character with eyes open/eyes closed? (in this case is more easy to write all) and your example is right
The more simple way that I know to not going crazy with the definitions and the positions is to build all the png files in the window game dimension....
For eample : if you are building your game in 800X600 pxl so, all your png files (that will need animation) it might create in 800X600 pxl
in this way you have not need to define the position, it's ok only the "show" command....