Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thank you so much Nighten for this system! If somebody has the last text do a weird animation before hiding the phone you need to put None in "config.nvl_adv_transition" on your main script.

I have one question, when I finish using the phone, I see that there isn't a disappearing animation, I tried making one but I don't know where to put it so it can be played. If somebody knows were to put it, or has a different solution it would help me a lot. Thank you :)

Hi! I know this is 4 months too late but first of all, thank you for the "config.nvl_adv_transition" tip, it saved me from a lot of frustration.

You probably found it, but towards the top of the PhoneTexting.rpy file there are these two transforms:

transform phone_transform(pXalign=0.5, pYalign=0.5):     
    xcenter pXalign     
    yalign pYalign
transform phone_appear(pXalign=0.5, pYalign=0.5): #Used only when the dialogue have one element
     xcenter pXalign
     yalign pYalign
     on show:
         yoffset 1080
         easein_back 1.0 yoffset 0

You can add the hide animation to the top one

transform phone_transform(pXalign=0.5, pYalign=0.5):
    xcenter pXalign
   yalign pYalign     #This is where you add the hide animation.
   on hide:
        yoffset 0
        easein_back 1.0 yoffset 1080 transform phone_appear(pXalign=0.5, pYalign=0.5): #Used only when the dialogue have one element
    xcenter pXalign
    yalign pYalign     on show:
        yoffset 1080
        easein_back 1.0 yoffset 0

I did a quick test and it seems to be working, I don't know if it would cause any problems but it would at least give a starting point.

Hiiii, thank you so much for your help!!!

I have tried it, and it seems that the hiddinganimation works, but it also plays every time a new message appears.

I will be trying to find a way to only play it when there is no more messages to send.

I'll keep you updated if I find the solution ;D

Hi TruitaDPatata, thank you so much for the nvl_adv_transition tip. Please let me know when you find out the solution to the hiding animation when closing phone too. Thank you!